Replies: 1 comment
-
Had to disable constructor mapping. cfg.DisableConstructorMapping(); |
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.
Uh oh!
There was an error while loading. Please reload this page.
-
Version: AutoMapper 12.0.0, .NET SDK 7.0.100.
Expected behavior
constructor ignored and properties mapped
Actual behavior
Remove D's ctor to workaround the issue.
Steps to reproduce
Beta Was this translation helpful? Give feedback.
All reactions