From 4fb237da7d06a4320f5861cb1177e75c86dd074e Mon Sep 17 00:00:00 2001 From: Tom Quirk Date: Fri, 13 Dec 2019 21:31:24 +1000 Subject: [PATCH] Fix closing signs in documentation (#5645) * Fix closing signs in documentation `<` char was being used to close tags in 2 spots within the docs; they should be `>` * Changelog update --- CHANGELOG.md | 3 +++ docs/source/api/react-apollo.md | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) 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`.
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.