-
Notifications
You must be signed in to change notification settings - Fork 131
Closed
Description
Hey! 👋
I have such a case. I have a request let's say GpostsReq. I use that request with CacheAndNetwork FetchPolicy. But for pull to refresh action I put into Client.requestController.add(modifiedRequest) modified request which has set NetworkOnly FetchPolicy, so I display results only from network.
And let's check the following steps:
- Like a post using another mutation. This mutation modifies cache and that change propagates for
GpostsReqso I can see that my post has been liked. - Then make a pull to refresh with modified request which has set
NetworkOnlyFetchPolicy. - Like another post. Now post doesn't update. It looks like now my query doesn't involve changes from cache. But that wasn't an intention.
The same story with fetchMore action for which I have set NoCache FetchPolicy.
Am I missing something or that's expected behaviour? 😞
Metadata
Metadata
Assignees
Labels
No labels