Skip to content

Commit 62a0339

Browse files
authored
Update 4.0.mdx (#6099)
1 parent 306dad7 commit 62a0339

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/source/migration/4.0.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,9 +227,9 @@ For more control over the exception, use `toFlow()` and collect the different `A
227227

228228
In Apollo Kotlin 3, when using the normalized cache, you could set `emitCacheMisses(Boolean)` to `true` to emit cache misses instead of throwing.
229229

230-
In Apollo Kotlin 4, this is now the default behavior and `emitCacheMisses(Boolean)` has been removed.
230+
In Apollo Kotlin 4, cache misses always emit a response with `response.exception` containing a `CacheMissException`. `emitCacheMisses(Boolean)` has been removed.
231231

232-
With the `CacheFirst`, `NetworkFirst` and `CacheAndNetwork` policies, cache misses and network errors are now exposed in `ApolloResponse.exception`.
232+
With the `CacheFirst`, `NetworkFirst` and `CacheAndNetwork` policies, cache misses and network errors are now exposed in `ApolloResponse.exception`.
233233

234234
### Migration helpers
235235

0 commit comments

Comments
 (0)