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

Fix authorization middleware on long running servers #571

Merged

Conversation

oprypkhantc
Copy link
Contributor

@oprypkhantc oprypkhantc commented Mar 10, 2023

Closes #562

Feel free to make changes, especially to the docs.

I've also refactored AuthorizationFieldMiddleware to resolve authentication in a resolver callback, same way SecurityFieldMiddleware does, to avoid problems with regular #[Logged] and #[Right] annotations for my use case.

@oojacoboo oojacoboo merged commit db4d604 into thecodingmachine:master Mar 12, 2023
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.

Field middlewares executed only once per application lifecycle
2 participants