-
Notifications
You must be signed in to change notification settings - Fork 1
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
not working with graphql v15 #5
Comments
@sibelius Which |
export const getMutationExtensions = (
info: GraphQLResolveInfo,
mutationName: string,
): GraphQLFieldConfigMap<any, GraphQLContext> | null => {
const mutationType = info.schema.getMutationType();
if (!mutationType) {
return null;
}
const fields = mutationType.getFields();
return fields[mutationName].extensions;
}; on v14 graphql returned everything inside |
@mymywang it's related to this proposal that was added on GraphQL 15: graphql/graphql-js#1527 I should be able to do something about it this weekend. |
I've pushed |
That's awesome! |
|
graphql v15 is more strict about graphql fields
you need to move them to
extensions
The text was updated successfully, but these errors were encountered: