deep_merge icon indicating copy to clipboard operation
deep_merge copied to clipboard

Deep Merge non arrays

Open stevendelarwelle opened this issue 3 years ago • 1 comments

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

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

stevendelarwelle avatar Mar 19 '21 15:03 stevendelarwelle

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.

Fryguy avatar Jan 07 '22 23:01 Fryguy