Closed
Description
Version
4.1.1
Summary
Two possible issues:
- request is cached for mutations with
.doNotStore(true)
- request is still in cache after calling
apolloClient.apolloStore.clearAll()
Steps to reproduce the behavior
- Call a mutation with
.doNotStore(true)
, e.g.
apolloClient
.mutation(FooMutation())
.doNotStore(true)
.execute()
- Grep
~/Library/Developer/CoreSimulator/Devices/<id>/data/Containers/Data/Application/<id>/Library/Caches/<id>/Cache.db-wal
for "mutation"
- mutation request is present in cache
- Call
apolloClient.apolloStore.clearAll()
- Grep as above
- mutation request still present in cache
Logs
(Your logs here)