jesterwithplugins
jesterwithplugins copied to clipboard
Fix or document context of plugins in routers and subrouters
From @GULPF https://github.com/dom96/jester/issues/226#issuecomment-633048738:
Since plugins are "global" (if plugin f <- pluginName() is used in a subrouter then f is available in the main router, and vice versa) it might make sense to simple disallow plugin: inside subrouter: to avoid confusion.