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
Previously, when data was defined, it was guaranteed that a complete result was included in the object. This was I only had to check if data was defined. Now, with fetchPolicy network-only, after the initial search and while the second search is in-flight, I am getting an empty object from data.
FWIW, I'm not seeing this crash anymore on the latest @apollo/client version 3.4.16 (but could easily reproduce it via the combo of fetchPolicy: 'network-only' + notifyOnNetworkStatusChange: true on version 3.3.14)
The behavior changed after 3.1.0 release.
Previously, when
data
was defined, it was guaranteed that a complete result was included in the object. This was I only had to check if data was defined. Now, with fetchPolicynetwork-only
, after the initial search and while the second search is in-flight, I am getting an empty object fromdata
.Possibly has to do with #6710
The text was updated successfully, but these errors were encountered: