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

Update to support GraphQL JS v16 #87

Closed
mcrawshaw opened this issue Nov 3, 2021 · 2 comments
Closed

Update to support GraphQL JS v16 #87

mcrawshaw opened this issue Nov 3, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@mcrawshaw
Copy link

Hi,

After upgrading to GraphQL JS v16 (released 28th of Oct 2021) while using this library, you should receive this error.

 Must provide document.

      at devAssert (node_modules/graphql/jsutils/devAssert.js:12:11)
      at assertValidExecutionArguments (node_modules/graphql/execution/execute.js:145:40)
      at Object.execute (node_modules/graphql/execution/execute.js:74:3)

This is discussed in relation to other libraries here: graphql/graphql-js#3245 (comment)

The most critical change required would be to pass an object rather than params to execute().

Mark.

@mcrawshaw
Copy link
Author

Just noticed PR #84

@n1ru4l n1ru4l added the bug Something isn't working label Nov 3, 2021
@mcrawshaw
Copy link
Author

Resolved, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants