Skip to content
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

Loading schema fails with graphql v16+ #86

Closed
nextdude-mdsol opened this issue Feb 15, 2022 · 2 comments
Closed

Loading schema fails with graphql v16+ #86

nextdude-mdsol opened this issue Feb 15, 2022 · 2 comments

Comments

@nextdude-mdsol
Copy link

Version 16 of graphql library removes support for positional arguments in call to graphql.graphql() used in src/loadSchemaJSON.js method schemaToJSON (line 24). The fix is to simply pass the schema and introspection query in an object instead.

@nextdude
Copy link
Contributor

Submitted a PR to fix this.

@exogen
Copy link
Owner

exogen commented Oct 7, 2022

Released in v6.1.0. Thanks!

@exogen exogen closed this as completed Oct 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants