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 has been addressed by #4743, and will be coming in Apollo Client 2.6. You can set returnPartialData to true to have previous partial cache results used, instead of having the returned data set to an empty object.
If I have this query on
MyComponent
And if I do a mutation and my mutation result look like this
If the
subobject
id is updated during the mutation,MyComponent
can't render because I don't fetchsomefield
.Intended outcome:
Something to tell me why the component doesn't render anymore
Actual outcome:
The exception is ingnored in
QueryManager.prototype.getCurrentQueryResult
Version
PS: I agree this error should not happen if I don't forget my fields, but sometimes it happens.
The text was updated successfully, but these errors were encountered: