Replies: 1 comment 1 reply
-
I think this is better suited for StackOverflow. |
Beta Was this translation helpful? Give feedback.
1 reply
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.
-
Hiya, i think i'm doing something stupid or this is a bug.
Consider the following code:
https://dotnetfiddle.net/tcoRvK
Now since the type of
e1
isMyGenericResponseObject<OrderSummaryViewModel>
i'm expecting the two lists to be equal after the mapping. Instead it outputs the following:For some reason after the mapping the
NumberOfLines
property is its default...How come? is there something wrong with my configuration perhaps - or is it a limitation of AutoMapper or is it a bug?
Any help would be welcome.
using net6 and latest stable automapper (see the fiddle).
Beta Was this translation helpful? Give feedback.
All reactions