@@ -73,13 +73,17 @@ impl Root {
73
73
0
74
74
}
75
75
76
- // TODO: enable once [RFC 2565](https://github.com/rust-lang/rust/issues/60406) is implemented
77
- // fn attr_arg_descr(#[doc = "The arg"] arg: i32) -> i32 { 0 }
78
- // fn attr_arg_descr_collapse(
79
- // #[doc = "The arg"]
80
- // #[doc = "and more details"]
81
- // arg: i32,
82
- // ) -> i32 { 0 }
76
+ // TODO: enable once [parameter attributes are supported by proc macros]
77
+ // (https://github.com/graphql-rust/juniper/pull/441)
78
+ // fn attr_arg_descr(
79
+ // #[graphql(description = "The arg")]
80
+ // arg: i32) -> i32
81
+ // { 0 }
82
+ // fn attr_arg_descr_collapse(
83
+ // #[graphql(description = "The first arg")]
84
+ // #[graphql(description = "and more details")]
85
+ // arg: i32,
86
+ // ) -> i32 { 0 }
83
87
84
88
#[ graphql( arguments( arg( default = 123 , ) , ) ) ]
85
89
fn arg_with_default ( arg : i32 ) -> i32 {
@@ -559,7 +563,8 @@ fn introspect_field_multi_args_descr_trailing_comma() {
559
563
} ) ;
560
564
}
561
565
562
- // TODO: enable once [RFC 2565](https://github.com/rust-lang/rust/issues/60406) is implemented
566
+ // TODO: enable once [parameter attributes are supported by proc macros]
567
+ // (https://github.com/graphql-rust/juniper/pull/441)
563
568
// #[test]
564
569
// fn introspect_field_attr_arg_descr() {
565
570
// run_args_info_query("attrArgDescr", |args| {
@@ -593,7 +598,8 @@ fn introspect_field_multi_args_descr_trailing_comma() {
593
598
// });
594
599
// }
595
600
596
- // TODO: enable once [RFC 2565](https://github.com/rust-lang/rust/issues/60406) is implemented
601
+ // TODO: enable once [parameter attributes are supported by proc macros]
602
+ // (https://github.com/graphql-rust/juniper/pull/441)
597
603
// #[test]
598
604
// fn introspect_field_attr_arg_descr_collapse() {
599
605
// run_args_info_query("attrArgDescrCollapse", |args| {
0 commit comments