Closed NiklasRosenstein closed 6 years ago
This may not be related to Flask-GraphQL at all. I've updated to the master branch where it uses graphql_server
and I still have the same problem. I asked at SO: https://stackoverflow.com/questions/50814621/python-graphql-variable-not-defined
On a side-note, maybe it is partially a problem with Flask-GraphQL in version 1.4.1, because the "Variable X is not defined" comes from the validation step
And the variables are not being made known to the validate()
function in any way.
I'm sending a POST request with a JSON object attached that contains the query and variables. But I get an error that the variable is not defined.
I'm using
Flask-GraphQL==1.4.1