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

Don't depend on axum-macros in examples #2122

Merged
merged 1 commit into from
Jul 26, 2023

Conversation

davidpdrsn
Copy link
Member

All macros are re-exported by axum so that's the recommended way to get the macros.

All macros are re-exported by axum.
@davidpdrsn davidpdrsn merged commit f9ea40b into main Jul 26, 2023
17 checks passed
@davidpdrsn davidpdrsn deleted the david/no-axum-macros-in-examples branch July 26, 2023 18:21
`axum_macros::FromRequest` to wrap another extractor and customize the
rejection
- [`derive_from_request`](src/derive_from_request.rs): Uses the
`axum::extractr::FromRequest` derive macro to wrap another extractor and
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
`axum::extractr::FromRequest` derive macro to wrap another extractor and
`axum::extract::FromRequest` derive macro to wrap another extractor and

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Wanna submit a new PR?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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