Replies: 2 comments
-
A repro would help. Make a gist that we can execute and see fail. |
Beta Was this translation helpful? Give feedback.
0 replies
-
My apologies. The second mapping is not failing. It was failing in my app with that exception because another container inherited from List, where T = FaceDTO, was mapped but "Item" wasn't ignored for it. |
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.
-
I am trying to map between the two following types:
Source/destination types
Mapping configuration
Neither
nor (from #3597)
work.
Version: 11.0.1 (on .Net 6)
Expected behavior
The map definition works and does not disrupt other maps.
Actual behavior
As soon as the mapper is invoked, an exception is thrown:
Steps to reproduce
Define those two objects, add the mapping configuration above to the AutoMapper profile, start the application and invoke any mapping function, also not related to the types in question.
Thank you for any insight.
Beta Was this translation helpful? Give feedback.
All reactions