Open sstudenik opened 8 years ago
Dear @sstudenik,
I appreciate your input and help - I completely support your idea! These changes that you are talking about are coming very soon as second point in the of priority list to implement. (Support of hierarchies and interfaces).
The mapper does not consider the type of each source item when mapping a generic collection. It always tries to instantiate the generic destination parameter type regardless of the actual source item type.
A workaround is a custom type mapper (see below). But i think the mapper should provide a better default handling. (Propably i missed something?)
Workaraound with custom mapper: