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

Deep Merge non arrays #44

Open
stevendelarwelle opened this issue Mar 19, 2021 · 1 comment
Open

Deep Merge non arrays #44

stevendelarwelle opened this issue Mar 19, 2021 · 1 comment

Comments

@stevendelarwelle
Copy link

Is it possible to deep merge this
{:available=>{:inventory=>{:sordernum=>849836}}}
{:available=>{:inventory=>{:sordernum=>221836}}}

to produce
{:available=>{:inventory=>[{:sordernum=>849836},{:sordernum=>221836}]}}

@Fryguy
Copy link
Collaborator

Fryguy commented Jan 7, 2022

No, there's no option for that from what I can tell. We'd need a new option, so this is an enhancement request. That being said, I'm not sure exactly how it would know when to make something into an Array or not.

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