From 01935ee00e620b592d432d7ea5e3af66eadfbd09 Mon Sep 17 00:00:00 2001 From: Tom Quirk Date: Tue, 3 Dec 2019 11:39:53 +0930 Subject: [PATCH 1/2] Fix closing signs in documentation `<` char was being used to close tags in 2 spots within the docs; they should be `>` --- docs/source/api/react-apollo.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/source/api/react-apollo.md b/docs/source/api/react-apollo.md index db403903cf4..4e3feea728e 100644 --- a/docs/source/api/react-apollo.md +++ b/docs/source/api/react-apollo.md @@ -81,7 +81,7 @@ The Query component accepts the following props. Only `query` and `children` are
A callback executed once your query successfully completes.
onError: (error: ApolloError) => void
A callback executed in the event of an error.
-
context: Record<string, any<
+
context: Record<string, any>
Shared context between your Query component and your network interface (Apollo Link). Useful for setting headers from props or sending information to the request function of Apollo Boost.
partialRefetch: boolean
If true, perform a query refetch if the query result is marked as being partial, and the returned data is reset to an empty Object by the Apollo Client QueryManager (due to a cache miss). The default value is false for backwards-compatibility's sake, but should be changed to true for most use-cases.
@@ -147,7 +147,7 @@ The Mutation component accepts the following props. Only `mutation` and `childre
A callback executed once your mutation successfully completes
onError: (error: ApolloError) => void
A callback executed in the event of an error
-
context: Record<string, any<
+
context: Record<string, any>
Shared context between your Mutation component and your network interface (Apollo Link). Useful for setting headers from props or sending information to the request function of Apollo Boost.
client: ApolloClient
An ApolloClient instance. By default Mutation uses the client passed down via context, but a different client can be passed in.
From cbeeca0d3eced786cbbd15d587758bbf91614ff2 Mon Sep 17 00:00:00 2001 From: hwillson Date: Fri, 13 Dec 2019 06:21:14 -0500 Subject: [PATCH 2/2] Changelog update --- CHANGELOG.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 085950aa356..bd51318dca3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -15,6 +15,9 @@ parameter.
[@mjlyons](https://github.com/mjlyons) in [#5388](https://github.com/apollographql/apollo-client/pull/5388) +- Documentation updates.
+ [@tomquirk](https://github.com/tomquirk) in [#5645](https://github.com/apollographql/apollo-client/pull/5645) + ### GraphQL Anywhere vNext - Fix `filter` edge case involving `null`.