Removing middelware with parameters. #33143
Unanswered
thomas-veen
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is it intended
withoutMiddleware
does not remove middleware when the parameters do not match?Example:
The example above will not remove the middleware because the parameters do not match.
gatherRouteMiddleware
will compare the following values:The following example removes the middleware:
Is this behavior intended? At the moment there is no mention of this in the documentation.
Not sure if this could be a feature. It can be a bit annoying that I have to change all the children that remove this middleware when I change it to
throttle:120,1
for example.Beta Was this translation helpful? Give feedback.
All reactions