You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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?
The text was updated successfully, but these errors were encountered:
BoD
transferred this issue from apollographql/apollo-kotlin
Dec 13, 2024
I think
ApolloStore#remove(keys)
should acceptcascade
flag to provide consistency of normalized cache. Without this flag I have to call many timesremove(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?
The text was updated successfully, but these errors were encountered: