Replies: 1 comment
-
|
Mapperly supports both. |
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
Uh oh!
There was an error while loading. Please reload this page.
-
Is it possible to modify the behavour of copying a property from the source class to the destination class based on it's type. An example I have is I have a class with quite a lot of nullable datetime fields and when copying to the destination class I would like to remove the milliseconds from destination date time.
I believe I can do this for each property individually, but can I just say for this class if it's a DateTime type call this specific method to convert the value when copying to the destination object.
Beta Was this translation helpful? Give feedback.
All reactions