mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-25 00:00:23 +02:00
Add special handling of FromRequest extractors not being the last arg (#1797)
This commit is contained in:
@@ -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() {}
|
||||
Reference in New Issue
Block a user