-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Open
Labels
ℹ needs-more-infoNeeds more information to determine root causeNeeds more information to determine root cause
Description
Issue Description
I'm looking at this line and I think it's a problem when I have the following data for source and target:
// New data
source: []
// Previous data
target: [{...}]My expectation is that the data will be replaced with source, which is the most recent data. But in this case, because Object.keys([]) returns an empty array, it will returns target instead.
Link to Reproduction
n/a
Reproduction Steps
No response
@apollo/client version
3.9.5
Metadata
Metadata
Assignees
Labels
ℹ needs-more-infoNeeds more information to determine root causeNeeds more information to determine root cause