-
Hello! I use graphql-codegen to parse and pre-compile queries into AST ( It looks like both Expected behavior: no error; handler uses provided AST Example cURL:
Footnotes |
Beta Was this translation helpful? Give feedback.
Answered by
enisdenjo
Jun 12, 2023
Replies: 1 comment 2 replies
-
It's not a bug, the GraphQL over HTTP spec requires the You can either:
|
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
ddiachkov
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It's not a bug, the GraphQL over HTTP spec requires the
query
field to be a string.You can either:
string
documentMode for the client preset in GraphQL Codegenprint
the AST before sending it