Skip to content

Commit 7d0c0cc

Browse files
authored
add a note about ApolloStore still throwing (#6042)
1 parent da49f9e commit 7d0c0cc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source/migration/4.0.mdx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -200,6 +200,8 @@ apolloClient.query(query).watch()
200200
apolloClient.query(query).watch().filter { it.exception == null }
201201
```
202202

203+
The lower level `ApolloStore` APIs are not changed and throw on cache misses or I/O errors.
204+
203205
### ApolloCompositeException is not thrown
204206

205207
When using the cache, Apollo Kotlin 3 threw `ApolloCompositeException` if no response could be found. For an example, a `CacheFirst` fetch policy would throw `ApolloCompositeException(cacheMissException, apolloNetworkException)` if both cache and network failed.

0 commit comments

Comments
 (0)