Compile-time error when mapping nullable to non-nullable #375
Closed
fernetowac
started this conversation in
Ideas
Replies: 2 comments 1 reply
-
This would definitely be a cool feature of mapperly. Kinda relates to #98. |
Beta Was this translation helpful? Give feedback.
1 reply
-
the default behavior is mapping null to default value for more info refer to https://mapperly.riok.app/docs/configuration/mapper/#null-values |
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
-
When I map nullable property to non-nullable one, I'd prefer to get a compile-time error. I'd like this to be the default behavior unless explicitly stated else.
Beta Was this translation helpful? Give feedback.
All reactions