We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example query:
query myTest { country(code: "BR") { name } }
This generates the following code:
instance GraphQLQuery MyTestQuery where type ResultSchema MyTestQuery = MyTestSchema getQueryName _ = "myTest" getQueryText _ = [query| query myTest { country(code: "BR") { name } } |] getArgs query = object [ ]
With the following response from the graphql-server:
Query did not parse : 'query myTest { country(code: "BR") { name } }'
The following query text should be generated:
getQueryText _ = [query| query myTest { country(code: "BR") { name } } |]
The text was updated successfully, but these errors were encountered:
Fixed by #81
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Example query:
This generates the following code:
With the following response from the graphql-server:
Expected behavior
The following query text should be generated:
The text was updated successfully, but these errors were encountered: