@@ -22,59 +22,59 @@ Syntax to validate:
2222graphql_input_object ! (
2323 #[ derive( Debug ) ]
2424 struct Point {
25- x: i64 ,
25+ x: i32 ,
2626 }
2727) ;
2828
2929graphql_object ! ( Root : ( ) |& self | {
30- field simple( ) -> i64 { 0 }
31- field exec_arg( & executor) -> i64 { 0 }
32- field exec_arg_and_more( & executor, arg: i64 ) -> i64 { 0 }
30+ field simple( ) -> i32 { 0 }
31+ field exec_arg( & executor) -> i32 { 0 }
32+ field exec_arg_and_more( & executor, arg: i32 ) -> i32 { 0 }
3333
34- field single_arg( arg: i64 ) -> i64 { 0 }
34+ field single_arg( arg: i32 ) -> i32 { 0 }
3535 field multi_args(
36- arg1: i64 ,
37- arg2: i64
38- ) -> i64 { 0 }
36+ arg1: i32 ,
37+ arg2: i32
38+ ) -> i32 { 0 }
3939 field multi_args_trailing_comma(
40- arg1: i64 ,
41- arg2: i64 ,
42- ) -> i64 { 0 }
40+ arg1: i32 ,
41+ arg2: i32 ,
42+ ) -> i32 { 0 }
4343
44- field single_arg_descr( arg: i64 as "The arg" ) -> i64 { 0 }
44+ field single_arg_descr( arg: i32 as "The arg" ) -> i32 { 0 }
4545 field multi_args_descr(
46- arg1: i64 as "The first arg" ,
47- arg2: i64 as "The second arg"
48- ) -> i64 { 0 }
46+ arg1: i32 as "The first arg" ,
47+ arg2: i32 as "The second arg"
48+ ) -> i32 { 0 }
4949 field multi_args_descr_trailing_comma(
50- arg1: i64 as "The first arg" ,
51- arg2: i64 as "The second arg" ,
52- ) -> i64 { 0 }
50+ arg1: i32 as "The first arg" ,
51+ arg2: i32 as "The second arg" ,
52+ ) -> i32 { 0 }
5353
54- field arg_with_default( arg = 123 : i64 ) -> i64 { 0 }
54+ field arg_with_default( arg = 123 : i32 ) -> i32 { 0 }
5555 field multi_args_with_default(
56- arg1 = 123 : i64 ,
57- arg2 = 456 : i64
58- ) -> i64 { 0 }
56+ arg1 = 123 : i32 ,
57+ arg2 = 456 : i32
58+ ) -> i32 { 0 }
5959 field multi_args_with_default_trailing_comma(
60- arg1 = 123 : i64 ,
61- arg2 = 456 : i64 ,
62- ) -> i64 { 0 }
60+ arg1 = 123 : i32 ,
61+ arg2 = 456 : i32 ,
62+ ) -> i32 { 0 }
6363
64- field arg_with_default_descr( arg = 123 : i64 as "The arg" ) -> i64 { 0 }
64+ field arg_with_default_descr( arg = 123 : i32 as "The arg" ) -> i32 { 0 }
6565 field multi_args_with_default_descr(
66- arg1 = 123 : i64 as "The first arg" ,
67- arg2 = 456 : i64 as "The second arg"
68- ) -> i64 { 0 }
66+ arg1 = 123 : i32 as "The first arg" ,
67+ arg2 = 456 : i32 as "The second arg"
68+ ) -> i32 { 0 }
6969 field multi_args_with_default_trailing_comma_descr(
70- arg1 = 123 : i64 as "The first arg" ,
71- arg2 = 456 : i64 as "The second arg" ,
72- ) -> i64 { 0 }
70+ arg1 = 123 : i32 as "The first arg" ,
71+ arg2 = 456 : i32 as "The second arg" ,
72+ ) -> i32 { 0 }
7373
7474 field args_with_complex_default(
7575 arg1 = ( "test" . to_owned( ) ) : String as "A string default argument" ,
7676 arg2 = ( Point { x: 1 } ) : Point as "An input object default argument" ,
77- ) -> i64 { 0 }
77+ ) -> i32 { 0 }
7878} ) ;
7979
8080fn run_args_info_query < F > ( field_name : & str , f : F )
0 commit comments