Closed NiklasRosenstein closed 6 years ago
@NiklasRosenstein you will need to define the variable in the query itself:
You currently have:
query { reverse(word: $name) }
It should be:
query($name: String) { reverse(word: $name) }
Let me know if this fixes the issue.
I will close the issue. But please comment back if you have any further question.
To reproduce:
This gives you
I have encountered this error using
Flask-GraphQL
as any variables I pass via the HTTP request are ignored due to this issue.