We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hey, i have some updateQueries to update apollo cache but doesnt work.
Maybe this is related to apollographql/apollo-client#1129 ?
Code:
updateQueries: { animal: (previousQueryResult, { mutationResult }) => { return { animal: { ...previousQueryResult.animal, records: [mutationResult.data.createRecord, ...previousQueryResult.animal.records], } } } },
The text was updated successfully, but these errors were encountered:
@Akryum Any plans to update to new apollo 8?
Sorry, something went wrong.
It's planned.
@Akryum or maybe skip to 1.0rc https://dev-blog.apollodata.com/apollo-client-1-0-is-coming-23b74b13fbbb#.4g50jqacz
Yup! 😄
See #42
No branches or pull requests
Hey, i have some updateQueries to update apollo cache but doesnt work.
Maybe this is related to apollographql/apollo-client#1129 ?
Code:
The text was updated successfully, but these errors were encountered: