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
Middlewares of a controller with no path like "/" are always called even when another path is called
Considering the example at the end, If i call /test I get "meow" twice.
If you remove the middleware to the controller with no path and call /test/getTest - you'll get "meow" once.
Consider the 2 following controllers and simple middleware:
Middlewares of a controller with no path like "/" are always called even when another path is called
Considering the example at the end, If i call /test I get "meow" twice.
If you remove the middleware to the controller with no path and call /test/getTest - you'll get "meow" once.
Consider the 2 following controllers and simple middleware:
@decorators/di: 2.0.0
@decorators/express: 2.9.4
The text was updated successfully, but these errors were encountered: