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
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Add allowCachedPartialResults() and allowCachedErrors()(#205)
These flags control whether partial results and errors should be returned from the cache. They are false by default.
Return existing cached values (e.g. Errors) in FieldPolicyCacheResolver (#198)
The compiler plugin's package name argument has been renamed com.apollographql.cache.packageName
(was packageName) to avoid any collision with other plugins (#207)
Using packageName still works, but is deprecated.
The cache() extension now stores received dates if max ages are configured (#199)
Deprecate FetchPolicy.CacheAndNetwork (#205)
This can be used instead: fetchPolicy(FetchPolicy.CacheOnly).toFlow().onCompletion { emitAll(fetchPolicy(FetchPolicy.NetworkOnly).toFlow()) }