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

ApolloStore#remove(keys) method does not accept "cascade" flag #74

Open
Tracked by #2331
piotr-pawlowski opened this issue Aug 6, 2020 · 0 comments
Open
Tracked by #2331

Comments

@piotr-pawlowski
Copy link

I think ApolloStore#remove(keys) should accept cascade flag to provide consistency of normalized cache. Without this flag I have to call many times remove(key, cascade = true) method, but it leads to calling many transaction to remove single key (one transaction per one key) instead of calling one transaction to remove batch of keys. Right now I have to make a choice: removing single key with cascade or optimized removing of many keys without cascade.

What do you think?

@BoD BoD transferred this issue from apollographql/apollo-kotlin Dec 13, 2024
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