axum/axum-macros/tests/from_request/fail
David Pedersen 64960bb19c
Type safe state inheritance (#1532)
* Make state type safe

* fix examples

* remove unnecessary `#[track_caller]`s

* Router::into_service -> Router::with_state

* fixup docs

* macro docs

* add missing docs

* fix examples

* format

* changelog

* Update trybuild tests

* Make sure fallbacks are still inherited for opaque services (#1540)

* Document nesting routers with different state

* fix leftover conflicts
2022-11-18 11:02:58 +00: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 Type safe state inheritance (#1532) 2022-11-18 11:02:58 +00:00
parts_extracting_body.stderr Type safe state inheritance (#1532) 2022-11-18 11:02:58 +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