node-object-mapper icon indicating copy to clipboard operation
node-object-mapper copied to clipboard

Passthrough properties that are not provided in the map

Open danieldramkroger opened this issue 2 years ago • 0 comments

Currently I have to map a large collection of objects, but only a few keys need to be mapped to new properties, it would be nice to be able to have existing object keys in the object that are unaffected when you don't specify them in the map. Maybe allow a third param into the merge function to set mutation=true|false?

danieldramkroger avatar Aug 25 '23 03:08 danieldramkroger