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

Question: keys with the same name #91

Open
Ali-sharafi-git opened this issue Oct 17, 2021 · 1 comment
Open

Question: keys with the same name #91

Ali-sharafi-git opened this issue Oct 17, 2021 · 1 comment

Comments

@Ali-sharafi-git
Copy link

Hi
Is there a way to avoid writing big map objects by excluding keys with same name in source and dest?
eg

const  source ={
foo: 1,
bar:2,
baz:3
}

const dest = {
foo : null,
bar: null,
x: null,
y: null
}

My expectation is an empty map object would return a dest object with keys foo and bar

Thanks

@jonnymony
Copy link

I wanted to ask the same question! Have you found solution? @Ali-sharafi-git? Maybe someone will advise similar library?

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

2 participants