Closed ramivalta closed 8 years ago
@tiil I'm surprised this approach fixes https://github.com/rtfeldman/seamless-immutable/issues/82 - would you mind adding a test case to confirm that it's fixed?
@rtfeldman Sorry for not being responsive. This PR merely works around #82 by always turning currentValue into an Immutable before calling merge on it - it's not pretty but it doesn't break any tests unlike the previous attempt. I'll try to provide a test case soon.
Thanks! :smiley:
Extremely tiny nit: isMergeableObject :wink:
Closing as stale; feel free to reopen if desired!
Different approach to solve merge() getting called on empty objects. Passes tests this time. Ping @rtfeldman.