Closed molszowy closed 1 year ago
As per discussion in https://github.com/labstack/echo/pull/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.
Echo#Use()
As per discussion in https://github.com/labstack/echo/pull/1660, it seems the documentation is incorrect:
https://echo.labstack.com/middleware/#overview
The middleware registered by
Echo#Use()
gets applied to all registered routes regardless of order.