Member configuration
mapFrom
Sets function that takes in source object and returns destination value.
mapFromUsing
Similarly to mapFrom
takes in mapping function and MappingPair
which configuration will be used to map corresponding member.
addTransform
Transforms value before mapping to destination.
condition
Called before destination value will be assigned.
preCondition
Called before resolving destination value and stops mapping on false.
nullSubstitute
When source member value resolves to null or undefined alternate value will be used.
ignore
Skips this member during mapping.
auto
Explicitly marks member for auto mapping. Can be called only on members present on both source and destination.
Last updated