DoNotValidate error when property name is the same between two objects #3976
-
Using the DoNotValidate on a source member, causes problems when the dest member has a property with the same name that is mapped to a different property. An example of this issue is below along with a possible workaround. Should both of these be equivalent?
|
Beta Was this translation helpful? Give feedback.
Answered by
lbargaoanu
May 6, 2022
Replies: 1 comment
-
https://docs.automapper.org/en/latest/8.0-Upgrade-Guide.html#forsourcemember-ignore |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
lbargaoanu
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
https://docs.automapper.org/en/latest/8.0-Upgrade-Guide.html#forsourcemember-ignore