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
Add a new `dataState` property to `ApolloQueryResult` that determines whether the `data` property is a complete result or not. As such, the `ApolloQueryResult` type is now a discriminated union that better handles the type of `data` given its particular state. The values are:
6
+
7
+
-`none`: No data could be fulfilled from the cache or the result is incomplete. `data` is `undefined`.
8
+
-`partial`: Some data could be fulfilled from the cache but `data` is incomplete. This is only possible when `returnPartialData` is `true`.
9
+
-`hasNext`: `data` is incomplete as a result of a deferred query and the result is still streaming in.
10
+
-`complete`: `data` is a fully satisfied query result fulfilled either from the cache or network.
0 commit comments