Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

does not override values when the old value is an object #8

Open
wa11a opened this issue Nov 11, 2019 · 1 comment
Open

does not override values when the old value is an object #8

wa11a opened this issue Nov 11, 2019 · 1 comment

Comments

@wa11a
Copy link

wa11a commented Nov 11, 2019

examples:

mixin({a: {}}, {a: new Set([1,2,3])})
{ a: {} }
> 
> 
> mixin({a: {b: 1, c: 2}}, {a: new Set([1,2,3])})
{ a: { b: 1, c: 2 } }

expected results:

mixin({a: {}}, {a: new Set([1,2,3])})
{ a: Set([1,2,3]) }
> 
> 
> mixin({a: {b: 1, c: 2}}, {a: new Set([1,2,3])})
{ a: Set([1,2,3]) }
@JB1959
Copy link

JB1959 commented Jul 9, 2020

Mixin-deep does not override values when the old value is an object #

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants
@wa11a @JB1959 and others