We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
variableMatcher
1 parent cdcd7ed commit 1e02553Copy full SHA for 1e02553
src/testing/core/mocking/mockLink.ts
@@ -49,6 +49,10 @@ export interface MockedResponse<
49
| ResultFunction<FetchResult<Unmasked<TData>>, TVariables>;
50
error?: Error;
51
delay?: number;
52
+ /**
53
+ * @deprecated `variableMatcher` will be removed in Apollo Client 4.0. Please use the
54
+ * `request.variables` option with a callback function instead to get the same behavior.
55
+ */
56
variableMatcher?: VariableMatcher<TVariables>;
57
/**
58
* @deprecated `newData` will be removed in Apollo Client 4.0. Please use the
0 commit comments