Is it possible for enum mapping that we can set the target to null for not existing enum values in the target branch.
I tried with whenSourceIsNull: null but it wont let me do this.
Example:
enum MySourceEnum { A, B, C } enum MyTargetEnum { A, B }
What i like to do is to set target to null if C (or any other enum value) is present in source.
Is it possible for enum mapping that we can set the target to null for not existing enum values in the target branch. I tried with whenSourceIsNull: null but it wont let me do this.
Example:
enum MySourceEnum { A, B, C } enum MyTargetEnum { A, B }
What i like to do is to set target to null if C (or any other enum value) is present in source.