File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,13 @@ All user visible changes to `juniper_actix` crate will be documented in this fil
14
14
- Switched to 0.16 version of [ ` juniper ` crate] .
15
15
- Switched to 0.4 version of [ ` juniper_graphql_ws ` crate] .
16
16
17
+ ### Fixed
18
+
19
+ - ` operationName ` not being set. ([ #1187 ] , [ #1169 ] )
20
+
17
21
[ #1034 ] : /../../pull/1034
22
+ [ #1169 ] : /../../issues/1169
23
+ [ #1187 ] : /../../pull/1187
18
24
19
25
20
26
Original file line number Diff line number Diff line change @@ -212,7 +212,7 @@ where
212
212
S : ScalarValue ,
213
213
{
214
214
let mut query = None ;
215
- let operation_name = None ;
215
+ let mut operation_name = None ;
216
216
let mut variables = None ;
217
217
for ( key, value) in form_urlencoded:: parse ( input. as_bytes ( ) ) . into_owned ( ) {
218
218
match key. as_ref ( ) {
@@ -226,6 +226,7 @@ where
226
226
if operation_name. is_some ( ) {
227
227
return Err ( invalid_err ( "operationName" ) ) ;
228
228
}
229
+ operation_name = Some ( value)
229
230
}
230
231
"variables" => {
231
232
if variables. is_some ( ) {
You can’t perform that action at this time.
0 commit comments