@@ -27,7 +27,7 @@ macro_rules! __graphql__args {
27
27
$name: ident $( = $default: tt) * : $ty: ty $( as $desc: tt) * , $( $rest: tt) *
28
28
) => {
29
29
let $name: $ty = $args
30
- . get( & $crate:: to_snake_case ( stringify!( $name) ) )
30
+ . get( & $crate:: to_camel_case ( stringify!( $name) ) )
31
31
. expect( "Argument missing - validation must have failed" ) ;
32
32
__graphql__args!( @assign_arg_vars, $args, $executorvar, $( $rest) * ) ;
33
33
} ;
@@ -38,7 +38,7 @@ macro_rules! __graphql__args {
38
38
$name: ident $( = $default: tt) * : $ty: ty $( as $desc: expr) *
39
39
) => {
40
40
let $name: $ty = $args
41
- . get( & $crate:: to_snake_case ( stringify!( $name) ) )
41
+ . get( & $crate:: to_camel_case ( stringify!( $name) ) )
42
42
. expect( "Argument missing - validation must have failed" ) ;
43
43
} ;
44
44
@@ -73,7 +73,7 @@ macro_rules! __graphql__args {
73
73
$reg: expr, $base: expr, ( $name: ident = $default: tt : $t: ty )
74
74
) => {
75
75
$base. argument( $reg. arg_with_default:: <$t>(
76
- & $crate:: to_snake_case ( stringify!( $name) ) ,
76
+ & $crate:: to_camel_case ( stringify!( $name) ) ,
77
77
& __graphql__args!( @as_expr, $default) ) )
78
78
} ;
79
79
@@ -85,7 +85,7 @@ macro_rules! __graphql__args {
85
85
@apply_args,
86
86
$reg,
87
87
$base. argument( $reg. arg_with_default:: <$t>(
88
- & $crate:: to_snake_case ( stringify!( $name) ) ,
88
+ & $crate:: to_camel_case ( stringify!( $name) ) ,
89
89
& __graphql__args!( @as_expr, $default) ) ) ,
90
90
( $( $rest) * ) )
91
91
} ;
@@ -99,7 +99,7 @@ macro_rules! __graphql__args {
99
99
@apply_args,
100
100
$reg,
101
101
$base. argument( $reg. arg_with_default:: <$t>(
102
- & $crate:: to_snake_case ( stringify!( $name) ) ,
102
+ & $crate:: to_camel_case ( stringify!( $name) ) ,
103
103
& __graphql__args!( @as_expr, $default) )
104
104
. description( $desc) ) ,
105
105
( $( $rest) * ) )
@@ -110,7 +110,7 @@ macro_rules! __graphql__args {
110
110
$reg: expr, $base: expr, ( $name: ident : $t: ty )
111
111
) => {
112
112
$base. argument( $reg. arg:: <$t>(
113
- & $crate:: to_snake_case ( stringify!( $name) ) ) )
113
+ & $crate:: to_camel_case ( stringify!( $name) ) ) )
114
114
} ;
115
115
116
116
(
@@ -121,7 +121,7 @@ macro_rules! __graphql__args {
121
121
@apply_args,
122
122
$reg,
123
123
$base. argument( $reg. arg:: <$t>(
124
- & $crate:: to_snake_case ( stringify!( $name) ) ) ) ,
124
+ & $crate:: to_camel_case ( stringify!( $name) ) ) ) ,
125
125
( $( $rest) * ) )
126
126
} ;
127
127
@@ -134,7 +134,7 @@ macro_rules! __graphql__args {
134
134
$reg,
135
135
$base. argument(
136
136
$reg. arg:: <$t>(
137
- & $crate:: to_snake_case ( stringify!( $name) ) )
137
+ & $crate:: to_camel_case ( stringify!( $name) ) )
138
138
. description( $desc) ) ,
139
139
( $( $rest) * ) )
140
140
} ;
0 commit comments