node-object-mapper
node-object-mapper copied to clipboard
Passthrough properties that are not provided in the map
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?