Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Remove incorrect note about registration of middleware #270

Closed
molszowy opened this issue Jan 16, 2023 · 0 comments
Closed

docs: Remove incorrect note about registration of middleware #270

molszowy opened this issue Jan 16, 2023 · 0 comments

Comments

@molszowy
Copy link

As per discussion in labstack/echo#1660, it seems the documentation is incorrect:

Middleware registered using Echo#Use() is only executed for paths which are registered after Echo#Use() has been called.

https://echo.labstack.com/middleware/#overview

The middleware registered by Echo#Use() gets applied to all registered routes regardless of order.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants