Add special handling of FromRequest extractors not being the last arg (#1797)

This commit is contained in:
David Pedersen
2023-03-03 09:44:10 +01:00
committed by GitHub
parent 73be489e03
commit 416a0568d3
8 changed files with 157 additions and 33 deletions
@@ -0,0 +1,10 @@
use axum_macros::debug_handler;
use axum::{Json, http::Uri};
#[debug_handler]
async fn one(_: Json<()>, _: Uri) {}
#[debug_handler]
async fn two(_: String, _: Uri) {}
fn main() {}