How do I update requestStatus when using skipWhileCached #80
-
Normally a service will update the store like so and also update the request Status as well service
store
But when using cache and specifying skipWhileCached on the service, then the store update() is not called so I'm not sure where to add updateRequestStatus to change the status from
Will I have to use one of the cache queries somewhere in the API call flow to set the status or do you think we could add some means of setting the status to skipWhileCached? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
That's the purpose of |
Beta Was this translation helpful? Give feedback.
That's the purpose of
skipWhileCached
. There is no need to update anything because that value is in the cache.