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

axum-extra/form: Use rejection macros for FormRejection #3111

Merged
merged 1 commit into from
Dec 27, 2024

Conversation

Turbo87
Copy link
Collaborator

@Turbo87 Turbo87 commented Dec 26, 2024

As suggested in #2781 (review), this PR refactors the Form extractor rejections in the axum-extra crate to be generated by the rejection macros in the axum-core trait. This adds all the usual nice-to-have fns including status() and body_text().

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.

2 participants