We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bf313a3 commit 9c368a0Copy full SHA for 9c368a0
.changeset/khaki-cars-develop.md
@@ -0,0 +1,5 @@
1
+---
2
+"@apollo/client": patch
3
4
+
5
+Deprecate option `ignoreResults` in `useMutation`.
src/react/types/types.ts
@@ -358,7 +358,10 @@ export interface BaseMutationOptions<
358
) => void;
359
/** {@inheritDoc @apollo/client!MutationOptionsDocumentation#onError:member} */
360
onError?: (error: ApolloError, clientOptions?: BaseMutationOptions) => void;
361
- /** {@inheritDoc @apollo/client!MutationOptionsDocumentation#ignoreResults:member} */
+ /**
362
+ * {@inheritDoc @apollo/client!MutationOptionsDocumentation#ignoreResults:member}
363
+ * @deprecated This property will be removed in the next major version of Apollo Client
364
+ */
365
ignoreResults?: boolean;
366
}
367
0 commit comments