We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dc7a05 commit a39a4fcCopy full SHA for a39a4fc
axum-macros/src/typed_path.rs
@@ -149,7 +149,8 @@ fn expand_named_fields(
149
parts: &mut ::axum::http::request::Parts,
150
state: &S,
151
) -> ::std::result::Result<Self, Self::Rejection> {
152
- ::axum::extract::Path::from_request_parts(parts, state)
+ <::axum::extract::Path<#ident> as ::axum::extract::FromRequestParts<S>>
153
+ ::from_request_parts(parts, state)
154
.await
155
.map(|path| path.0)
156
#map_err_rejection
0 commit comments