wankdanker / node-object-mapper

Copy properties from one object to another.
MIT License
276 stars 73 forks source link

Incorrect parameter list of transform functions #82

Open toandv opened 4 years ago

toandv commented 4 years ago

The parameter list of a transform function should be (sourceValue, sourceObject, destinationObject, sourceKey, destinationKey) instead of (sourceValue, sourceObject, destinationObject, destinationKey); which causes confusion between sourceKey and destinationKey.

transform