Replies: 1 comment
-
With 3.1.0 this should work if the |
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
-
I've been experimenting with mapperly, and we seriously consider dropping automapper an migrating (in steps) to mapperly. All kinds of stuff that I though wouldn't work in my test project actually already works out of the box. My compliments for this. This is a very cool library.
One thing that doesn't seem the work is the following regarding User implemented mapping methods:
Say I have a class:
and in my mapper I have a converter that maps to an existing
TargetClass
, and a custom converter forSubSourceClass
:It would be really cool to be able to have mapperly recognize that when generating the mapping, it can use the
ToTargetSubClass
method, since I'm mapping to an existingTargetClass
and theSubEntity
property already has a value (either by checking the value, or in this case even because theSubEntity
property is a non-nullable required propertyBeta Was this translation helpful? Give feedback.
All reactions