mirror of
https://github.com/tokio-rs/axum.git
synced 2026-08-28 00:00:20 +02:00
Improve debug_handler message for generic request-consuming extractors (#1826)
Co-authored-by: David Pedersen <[email protected]>
This commit is contained in:
co-authored by
David Pedersen
parent
1327a598ce
commit
a26ddd1063
@@ -0,0 +1,9 @@
|
||||
use axum::Json;
|
||||
use axum_macros::debug_handler;
|
||||
|
||||
struct Struct {}
|
||||
|
||||
#[debug_handler]
|
||||
async fn handler(foo: Json<Struct>) {}
|
||||
|
||||
fn main() {}
|
||||
Reference in New Issue
Block a user