diff --git a/src/react/data/MutationData.ts b/src/react/data/MutationData.ts index c4bf867c01e..ebf11afd66e 100644 --- a/src/react/data/MutationData.ts +++ b/src/react/data/MutationData.ts @@ -87,7 +87,8 @@ export class MutationData< update, context: mutationContext = {}, awaitRefetchQueries = false, - fetchPolicy + fetchPolicy, + errorPolicy, } = this.getOptions(); const mutateOptions = { ...mutationFunctionOptions }; @@ -107,6 +108,7 @@ export class MutationData< update, context: mutationContext, fetchPolicy, + errorPolicy, variables: mutateVariables, ...mutateOptions });