Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: cache middleware now respects
cacheConfig.force
flag (thanks @…
…voxmatt) The cacheConfig object (which is optional) can provide a flag to force refetches when a caching middleware is in place. The config is used on QueryRenderers: https://github.com/facebook/relay/blob/master/packages/react-relay/modern/ReactRelayQueryRenderer.js#L54 And in the options for a refetch inside a refetch container: https://facebook.github.io/relay/docs/en/refetch-container.html#refetch
- Loading branch information