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
{{ message }}
This repository has been archived by the owner on Jul 23, 2021. It is now read-only.
When deep merging two Maps with the same key name but different value types, no merge is done and the key's value remains unchanged. I would expect the value to be overwritten.
How to reproduce
var objWithObj = Immutable.fromJS({
items: {
'1': {
id: '1'
}
}
})
var objWithArray = Immutable.fromJS({
items: [{
id: '1'
}]
})
var mergedObj = ObjWithObj.mergeDeep(objWithArray)
From @trevorlitsey on Mon, 17 Jun 2019 19:42:35 GMT
What happened
When deep merging two Maps with the same key name but different value types, no merge is done and the key's value remains unchanged. I would expect the value to be overwritten.
How to reproduce
Copied from original issue: immutable-js#1719
The text was updated successfully, but these errors were encountered: