ObservableQuery
setVariables
/reobserve
with new variables reports partial data unexpectedly
#11593
Labels
ObservableQuery
setVariables
/reobserve
with new variables reports partial data unexpectedly
#11593
Issue Description
When using the core
client.watchQuery()
method which returns anObservableQuery
, changing variables to a result that has partial data will report that partial data even whenreturnPartialData
is set tofalse
.This does not affect
useQuery
however becauseuseQuery
usesgetCurrentResult()
under the hood whenever a cache update occurs, which does not demonstrate this behavior.We'd like our React hooks and core APIs to have the same behavior so that non-React users (and other frameworks) don't need to handle these differences.
Link to Reproduction
#11581
Reproduction Steps
No response
@apollo/client
version3.9.4
The text was updated successfully, but these errors were encountered: