Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow different types of fetches on a watcher
Publicly exposing the fetch() function would allow us to make other kinds of fetches besides the `fetchIgnoringCacheData` exposed by `refetch()`. Our use case is that our custom version of `InMemoryNormalizedCache` has cache expiration, and we want to be able to hit the network only if the cache has become invalid. Alternately, we could manually check the cache, but this seems cleaner.
- Loading branch information