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

Relay mutationWithClientMutationId does not pass forward the "extensions" field #244

Closed
JCMais opened this issue May 3, 2020 · 1 comment · Fixed by #333
Closed

Relay mutationWithClientMutationId does not pass forward the "extensions" field #244

JCMais opened this issue May 3, 2020 · 1 comment · Fixed by #333

Comments

@JCMais
Copy link

JCMais commented May 3, 2020

Looking at the code for mutationWithClientMutationId the extensions field is not passed forward:

const {
name,
description,
deprecationReason,
inputFields,
outputFields,
mutateAndGetPayload,
} = config;

The new extensions field was added on the following commit graphql/graphql-js#2097 and it's available since GraphQL v14.5.0, this new field is the recommended way to add metadata to GraphQL fields.

@jgcmarins
Copy link

related #245

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

Successfully merging a pull request may close this issue.

2 participants