-
Notifications
You must be signed in to change notification settings - Fork 7
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
Allow to provide custom ObjectCache for InMemoryCache #154
Comments
Is there a reason why this cannot be done in apollo-cache-persist? |
I opened this issue to evaluate with the people who maintain apollo projects what is the best way to evolve these features and how to evolve the |
I would personally love to see PR to the apollo-client repository so I can help you with these goals and comment on the code. Apollo client 3.0 will come with cache invalidation feature that may change some internal implementations. It is nice to drop some potentially breaking changes now for the community to comment on. Lack of cache persistence in InMemoryCache was an always big problem.
I personally would love to have a collaboration on apollo-cache-persist package rather than creating alternatives. This is where the most community is now and there are couple issues that we can resolve to make it nice. Apollo-Cache-Persist can be used now to achieve offline capabilities for queries and many developers using it this way. |
Hey all 👋. As @benjamn mentioned in this comment try using I'm doing a bit of housekeeping to try and cleanup some older PRs and issues. Since we've closed #5601, I'm going to close this issue as well. Feel free to re-open the issue or create a new discussion if need be. Thanks! |
Hi all,
I wanted to ask if it was possible to add customData to the parameters provided by InMemoryCacheConfig. This to best integrate the library https://www.npmjs.com/package/@wora/apollo-cache
I think it is a valid alternative to apollo-cache-persist and your opinion is welcome.
Thank you,
Lorenzo
The text was updated successfully, but these errors were encountered: