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
What should be the middleware priority?
Should it be the first/last one or can it be anywhere else?
Probably, we should add a note in documentation about the possible side effects of the middleware so the user is aware of where it should be placed
The text was updated successfully, but these errors were encountered:
What should be the middleware priority?
Should it be the first/last one or can it be anywhere else?
I feel like this has been addressed since 6714d4a started asking to use 543. Even if it looks like an example value not to be copied as is, it has been the de facto value used everywhere, with no issues that I am aware of.
Probably, we should add a note in documentation about the possible side effects of the middleware so the user is aware of where it should be placed.
Given the name is InjectionMiddleware, its side-effect is resolving dependency injection, and the only reason you might worry about the placement of this middleware is in scenarios where you override callbacks (you might want to do that before this middleware), I am not sure if we need to elaborate in the docs. Not a strong opinion, though.
What should be the middleware priority?
Should it be the first/last one or can it be anywhere else?
Probably, we should add a note in documentation about the possible side effects of the middleware so the user is aware of where it should be placed
The text was updated successfully, but these errors were encountered: