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
Add FromExtractor
and deprecate extractor_middleware
#957
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for working in this!
You seem to have run some formatting on the changelog, please undo those (unrelated) changes.
Also, in addition to the function, the layer and response future type are also part of the public API and need to stay accessible under their old paths / names (as re-exports) to maintain backwards compatibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Wanna add an #[allow(deprecated)]
to axum/src/extract/mod.rs
to fix the warnings shown in GitHub?
Resolve #954