From ecdd60e143fa31d24d60b6893212234e8dcfc8cf Mon Sep 17 00:00:00 2001 From: Aryan Jabbari Date: Fri, 8 Nov 2019 09:36:42 -0500 Subject: [PATCH 1/2] Fix broken link in mutation options docs --- docs/shared/mutation-options.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/shared/mutation-options.mdx b/docs/shared/mutation-options.mdx index 09de94d912a..fa3b97cd94b 100644 --- a/docs/shared/mutation-options.mdx +++ b/docs/shared/mutation-options.mdx @@ -4,7 +4,7 @@ | `variables` | { [key: string]: any } | An object containing all of the variables your mutation needs to execute | | `update` | (cache: DataProxy, mutationResult: FetchResult) | A function used to update the cache after a mutation occurs | | `ignoreResults`| boolean | If true, the returned `data` property will not update with the mutation result. | -| `optimisticResponse` | Object | Provide a [mutation response](/features/optimistic-ui/) before the result comes back from the server | +| `optimisticResponse` | Object | Provide a [mutation response](/performance/optimistic-ui/) before the result comes back from the server | | `refetchQueries`| (mutationResult: FetchResult) => Array<{ query: DocumentNode, variables?: TVariables}> | A function that allows you to specify which queries you want to refetch after a mutation has occurred | | `awaitRefetchQueries` | boolean | Queries refetched as part of `refetchQueries` are handled asynchronously, and are not waited on before the mutation is completed (resolved). Setting this to `true` will make sure refetched queries are completed before the mutation is considered done. `false` by default. | | `onCompleted` | (data: TData) => void | A callback executed once your mutation successfully completes | From 2a9733243bc9708c7ad5592432d89275773e5684 Mon Sep 17 00:00:00 2001 From: hwillson Date: Fri, 13 Dec 2019 08:10:06 -0500 Subject: [PATCH 2/2] Changelog updates --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a1d56acb62d..8d922cfc6b4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -18,7 +18,8 @@ - Documentation updates.
[@tomquirk](https://github.com/tomquirk) in [#5645](https://github.com/apollographql/apollo-client/pull/5645)
[@Sequoia](https://github.com/Sequoia) in [#5641](https://github.com/apollographql/apollo-client/pull/5641)
- [@phryneas](https://github.com/phryneas) in [#5628](https://github.com/apollographql/apollo-client/pull/5628) + [@phryneas](https://github.com/phryneas) in [#5628](https://github.com/apollographql/apollo-client/pull/5628)
+ [@AryanJ-NYC](https://github.com/AryanJ-NYC) in [#5560](https://github.com/apollographql/apollo-client/pull/5560) ### GraphQL Anywhere vNext