You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@pedroalbr Considering getting the params object started now, while we're working with plugins and potentially adding more params. The params would look like this: plugin(router, pluginDBAdapter, publish, sites, paramsObj)
instead of the current: plugin(router, pluginDBAdapter, publish, sites, site, [additional params])
Is your feature request related to a problem? Please describe.
When initializing plugins, occasionally several arguments are needed, which makes for too many arguments being passed to a single function.
Describe the solution you'd like
The function initPlugins in
plugins.js
should pass an object to each plugin.Current:
plugin(router, pluginDBAdapter, publish, sites)
Suggested:
plugin(router, paramsObject)
The text was updated successfully, but these errors were encountered: