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
Describe the bug
A clear and concise description of what the bug is.
If i enable cache and i switch off the network after fetching the data and try to fetch the data again i get CacheMissException instead of the cached response
To Reproduce
Steps to reproduce the behavior:
Set fetchPolicy: FetchPolicy.cacheAndNetwork,
Call a graphql Query
After that change the fetch policy to fetchPolicy: FetchPolicy.cacheOnly,
You will see the error
Expected behavior
A clear and concise description of what you expected to happen.
The response cached should come and its fine that we are getting error for no network
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
OS: iOS
Version 13.3
The text was updated successfully, but these errors were encountered:
Describe the bug
A clear and concise description of what the bug is.
If i enable cache and i switch off the network after fetching the data and try to fetch the data again i get CacheMissException instead of the cached response
To Reproduce
Steps to reproduce the behavior:
fetchPolicy: FetchPolicy.cacheAndNetwork,
fetchPolicy: FetchPolicy.cacheOnly,
Expected behavior
A clear and concise description of what you expected to happen.
The response cached should come and its fine that we are getting error for no network
Screenshots
If applicable, add screenshots to help explain your problem.
Smartphone (please complete the following information):
The text was updated successfully, but these errors were encountered: