Skip to content

Commit

Permalink
Merge pull request #3370 from cooperka/patch-2
Browse files Browse the repository at this point in the history
Update MutationResult API docs: include `client`
  • Loading branch information
Sashko Stubailo authored May 2, 2018
2 parents a6bf5f9 + 848965a commit 2867a6d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/source/essentials/mutations.md
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ The render prop function that you pass to the `children` prop of `Mutation` is c
<dd>Any errors returned from the mutation</dd>
<dt>`called`: boolean</dt>
<dd>A boolean indicating if the mutate function has been called</dd>
<dt>`client`: ApolloClient</dt>
<dd>Your `ApolloClient` instance. Useful for invoking cache methods outside the context of the update function, such as `client.writeData` and `client.readQuery`.</dd>
</dl>
<h2 id="next-steps">Next steps</h2>
Expand Down

0 comments on commit 2867a6d

Please sign in to comment.