Closed tyranron closed 1 year ago
Resolves #1169
See https://github.com/graphql-rust/juniper/issues/1169#issue-1726260032
Describe the bug The code block https://github.com/graphql-rust/juniper/blob/a648dd727519991c2e3c762af16eac027b2acec2/juniper_hyper/src/lib.rs#L225-L229 seems to be missing a statement where operation_name would be set to Some(value). To Reproduce Steps to reproduce the behavior: Just read through code. See the variable is defined a None and nowhere is being set.
Describe the bug The code block
https://github.com/graphql-rust/juniper/blob/a648dd727519991c2e3c762af16eac027b2acec2/juniper_hyper/src/lib.rs#L225-L229
seems to be missing a statement where operation_name would be set to Some(value).
Some(value)
To Reproduce Steps to reproduce the behavior: Just read through code. See the variable is defined a None and nowhere is being set.
None
Set the missing operation_name, as suggested.
operation_name
Resolves #1169
Synopsis
See https://github.com/graphql-rust/juniper/issues/1169#issue-1726260032
Solution
Set the missing
operation_name
, as suggested.