axum/axum-macros/tests/from_request/fail
Jonas Platte 7705ef6661
Add #[derive(FromRequestParts)] (#1305)
* Add missing leading double colon

* Separate handling of last element in FromRequest derive

* FromRequestParts derive

* fix it and add lots of tests

* docs

* changelog

* Update axum-macros/src/lib.rs

Co-authored-by: Jonas Platte <jplatte+git@posteo.de>

Co-authored-by: David Pedersen <david.pdrsn@gmail.com>
2022-08-23 19:14:02 +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 Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00: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 Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00: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 Add type safe state extractor (#1155) 2022-08-17 15:13:31 +00:00
parts_extracting_body.rs Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00:00
parts_extracting_body.stderr Add #[derive(FromRequestParts)] (#1305) 2022-08-23 19:14:02 +00: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 Only allow last extractor to mutate the request (#1272) 2022-08-22 12:23:20 +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