-
-
Notifications
You must be signed in to change notification settings - Fork 107
New issue
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
GraphQLError on working against schema.graphql generated by absinthe 1.6 #452
Comments
For now I'm dropping first line of the generated file with |
Hello! This is using the NPM package I think if I merge this pull request from dependabot it should fix it: #446. Maybe I can add a little test case to try it out in the end-to-end tests after merging this in. Thanks for reporting the issue! |
Published! I believe this should be working in the latest NPM release: https://github.com/dillonkearns/elm-graphql/blob/master/CHANGELOG-NPM-PACKAGE.md#411---2021-02-04. Could you try it out and confirm that it's working for you without the workaround now? Thank you! |
Quickness 👍 |
The culprit here is description on
schema
directive:"Represents a schema"
is newly inserted line, which causes error.In graphql spec I assume everything is describe-able, so I believe this is a valid schema file, but no confidence here.
https://spec.graphql.org/June2018/#sec-Descriptions
Which part of the generator needs looking? Or, should this be reported to Absinthe as inconsistency?
Any guidance is appreciated.
The text was updated successfully, but these errors were encountered: