-
Hi, I'm trying to figure out how to map an inner property of generic type. Consider the dto class And I have the possible inner types
How can I map |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
One solution/workaround I did, is to use
The problem with this solution, is that it becomes very verbose if we have more inner types to map from. |
Beta Was this translation helpful? Give feedback.
-
Hey @oraad, this is a limitation right now with AutoMapper. We will have to think about supporting this with a reasonable API. |
Beta Was this translation helpful? Give feedback.
One solution/workaround I did, is to use
mapDefer
since I have two types to be passed in this case.The problem with this solution, is that it becomes very verbose if we have more inner types to map from.