Skip to content

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

Closed
@JCMais

Description

@JCMais

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions