Skip to content
New issue

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

apollo/client upgrade 3.1.1 -cache issues #4

Closed
msreekm opened this issue Dec 3, 2020 · 1 comment
Closed

apollo/client upgrade 3.1.1 -cache issues #4

msreekm opened this issue Dec 3, 2020 · 1 comment

Comments

@msreekm
Copy link

msreekm commented Dec 3, 2020

I tried upgrading this sample project to "@apollo/client": "3.1.1", for some reason, caching does not seem to work ,it is always making a network query instead of getting the cache in 3.1.1

@msreekm msreekm closed this as completed Dec 3, 2020
@msreekm
Copy link
Author

msreekm commented Dec 3, 2020

never mind, i think it has to do with some breaking changes in 3.1 for types that does not have id https://www.apollographql.com/docs/react/migrating/apollo-client-3-migration/#breaking-cache-changes

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

No branches or pull requests

1 participant