Open piotr-pawlowski opened 4 years ago
Similarly to https://github.com/apollographql/apollo-android/issues/2505, I guess we need a clearAllAndPublish
?
Yes, it seems to be the best solution.
any updates here ?
seems like still apolloStore.clearAll()
doesn't trigger publish and observers don't show empty results
@Hospes At the moment clearAll() still doesn't publish to observers, so you'll need to handle that with your own mechanism. I've added this issue to the backlog of issues we want to tackle as part a cache improvement effort.
Summary It is the same problem with
remove
method - it does not trigger event as well. #2505Version All versions.