-
Notifications
You must be signed in to change notification settings - Fork 2k
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
generateSchemaHash: changes necessary for graphql@16.0.0 #5664
generateSchemaHash: changes necessary for graphql@16.0.0 #5664
Conversation
const documentAST = parse(introspectionQuery); | ||
const result = execute(schema, documentAST) as ExecutionResult; | ||
const document = parse(introspectionQuery); | ||
const result = execute({ schema, document }) as ExecutionResult<IntrospectionQuery>; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Here is the main change: in v16.0.0 we dropped support for positional args to execute
.
d7f7da8
to
7873a4f
Compare
Do we need to do what's done in #5663 as well? Or is this just one piece of working towards v16 compatibility? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks reasonable, though I'm curious how we're testing this.
I update |
@IvanGoncharov FYI, I noticed in retrospect that this file didn't have a CHANGELOG entry. Was that intentional, since it doesn't actually get us all the way to graphql 16 compatibility yet? |
@glasser Yes, was a partial change. |
No description provided.