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

Support manual cache eviction #3806

Closed
Tracked by #2331
hwillson opened this issue Jan 21, 2022 · 1 comment
Closed
Tracked by #2331

Support manual cache eviction #3806

hwillson opened this issue Jan 21, 2022 · 1 comment

Comments

@hwillson
Copy link
Member

hwillson commented Jan 21, 2022

Broken out from #2331. We'll use this issue to track cache eviction feature work.

Side note: we need to look into how much of this is already possible with apolloStore.remove().

@hwillson hwillson changed the title Allow to manually evict entries (already possible with apolloStore.remove()?) Support manual cache eviction Jan 21, 2022
@martinbonnin
Copy link
Contributor

Turns out apolloStore.remove(CacheKey) is doing the job. What we're missing is a way to handle dangling references after an entity has been removed. See apollographql/apollo-kotlin-normalized-cache-incubating#85 for a follow up.

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

No branches or pull requests

2 participants