Setting a target's required nullable property to a default value when the source doesn't have a property #1383
Replies: 1 comment
-
Mapperly 4.0 introduces Note that this is a prerelease and it may break its API with any release. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello!
Apologies for the confusing title. The code will be a lot clearer.
My target class has a required, nullable property but the source doesn't have a property for this.
I can not figure out how to make mapperly work with this. In this case, I want to be able to configure mapperly to set it to the default value.
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions