Skip to content

Conversation

@mjuraga
Copy link

@mjuraga mjuraga commented Nov 20, 2025

After RouteInfo is called new request object with new context is passed, and all middlewares handling that request after returning don't have access to it. This fix copies the request with routing context to the request passed as a function variable so all middlewares now preserve the request context.

Change type

Please select: 🔧 Bug fix

Short description

Fixes

fixes #375

After RouteInfo is called new request object with new context is passed,
and all middlewares handling that request after returning don't have
access to it. This fix copies the request with routing context to the
request passed as a function variable so all middlewares now preserve
the request context.

Signed-off-by: Marko Juraga <[email protected]>
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

Successfully merging this pull request may close these issues.

Router in runtime breaks Context for any following middlewares

1 participant