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
When I'm declaring a middleware with: my_blueprint.register_middleware(func_middleware),
I've found that the middleware applies to the application, not only the blueprint.
So i've searched on the github repo and see that actually when we use blueprint.register_middleware it seems to cal the same method on app level,
I found this strange as if we use blueprint, technically we also need to defined resources / middlewares only at blueprints level.
Should such a feature (to have blueprint scoped middlewares) may be introduced to chalice ?
The text was updated successfully, but these errors were encountered:
Hello,
When I'm declaring a middleware with:
my_blueprint.register_middleware(func_middleware)
,I've found that the middleware applies to the application, not only the blueprint.
So i've searched on the github repo and see that actually when we use
blueprint.register_middleware
it seems to cal the same method on app level,I found this strange as if we use blueprint, technically we also need to defined resources / middlewares only at blueprints level.
Should such a feature (to have blueprint scoped middlewares) may be introduced to chalice ?
The text was updated successfully, but these errors were encountered: