axum/axum-macros/tests/from_request/fail
David Pedersen 2e8a7e51a1
Fix Handler::with_state not working if request body was changed via layer (#1536)
Previously

```rust
handler.layer(RequestBodyLimitLayer::new(...)).with_state(...)
```

didn't work because we required the same request body all the way
through.
2022-11-18 11:00:52 +01:00
..
double_via_attr.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
double_via_attr.stderr Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
enum_from_request_ident_in_variant.rs Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
enum_from_request_ident_in_variant.stderr Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
enum_from_request_on_variant.rs Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
enum_from_request_on_variant.stderr Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
enum_no_via.rs Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
enum_no_via.stderr Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
generic.rs Move axum-debug into axum-macros (#724) 2022-01-26 23:27:22 +01:00
generic.stderr Support using a different rejection for #[derive(FromRequest)] (#1256) 2022-08-12 16:05:27 +00:00
generic_without_via.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
generic_without_via.stderr Fix Handler::with_state not working if request body was changed via layer (#1536) 2022-11-18 11:00:52 +01:00
generic_without_via_rejection.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
generic_without_via_rejection.stderr Fix Handler::with_state not working if request body was changed via layer (#1536) 2022-11-18 11:00:52 +01:00
not_enum_or_struct.rs Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
not_enum_or_struct.stderr Support #[derive(FromRequest)] on enums (#1009) 2022-05-08 20:04:56 +02:00
override_rejection_on_enum_without_via.rs Support using a different rejection for #[derive(FromRequest)] (#1256) 2022-08-12 16:05:27 +00:00
override_rejection_on_enum_without_via.stderr Fix Handler::with_state not working if request body was changed via layer (#1536) 2022-11-18 11:00:52 +01:00
parts_extracting_body.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
parts_extracting_body.stderr Remove ContentLengthLimit (#1400) 2022-09-24 11:29:53 +00:00
state_infer_multiple_different_types.rs Support State with #[derive(FromRequest[Parts])] (#1391) 2022-09-23 23:50:50 +02:00
state_infer_multiple_different_types.stderr Improve the error message for state type inference failure in FromRequest(Parts) derive macro (#1432) 2022-10-09 20:25:05 +02:00
unknown_attr_container.rs Support opt-out of extra derived traits for rejections for #[derive(FromRequest)] (#729) 2022-01-28 09:54:38 +00:00
unknown_attr_container.stderr Support State with #[derive(FromRequest[Parts])] (#1391) 2022-09-23 23:50:50 +02:00
unknown_attr_field.rs Support opt-out of extra derived traits for rejections for #[derive(FromRequest)] (#729) 2022-01-28 09:54:38 +00:00
unknown_attr_field.stderr Support opt-out of extra derived traits for rejections for #[derive(FromRequest)] (#729) 2022-01-28 09:54:38 +00:00
via_on_container_and_field.rs Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
via_on_container_and_field.stderr Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00