Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
After createOneDbConnection mutation, update cache manually instead o…
…f using refetchQuery (#5684) Closes #5057. RefetchQuery is unreliable - [it won't be executed if the component is unmounted](apollographql/apollo-client#5419), which is the case here because of the redirection that occurs after the mutation. We want to avoid using refetchQuery as much as possible, and write directly in the cache instead.
- Loading branch information