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
In #3277 (v14.1) the ability to specify a route's config as a function was introduced. That function currently receives the root server as an argument. I would suggest passing the relevant plugin's server instead, and additionally the relevant plugin's options as a second argument. I find this to be more multi-purpose (since the root is trivially found accessible the plugin's server) and possibly more consistent with the original use-case that the feature was intended to cater to.
In #3277 (v14.1) the ability to specify a route's config as a function was introduced. That function currently receives the root server as an argument. I would suggest passing the relevant plugin's server instead, and additionally the relevant plugin's options as a second argument. I find this to be more multi-purpose (since the root is trivially found accessible the plugin's server) and possibly more consistent with the original use-case that the feature was intended to cater to.
To illustrate,
The text was updated successfully, but these errors were encountered: