Skip to content
This repository has been archived by the owner on Apr 13, 2023. It is now read-only.

Add awaitRefetchQueries changes from recent apollo-client release #2214

Merged
merged 4 commits into from
Jul 25, 2018

Conversation

hwillson
Copy link
Member

This PR updates both the <Mutation /> component and graphql HOC to accept a new awaitRefetchQueries prop (boolean). When set to true, queries specified in refetchQueries will be completed before the mutation itself is completed. awaitRefetchQueries is false by default, which means refetchQueries are usually completed after the mutation has resolved.

This PR relates to apollographql/apollo-client#3169, which was launched in AC version 2.3.7.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant