You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the DtoMapper needs to map a property of source type BaseObject to target type BaseDto it should re-use the already built mapping BaseMapper.ToBaseDto, but this currently does not work.
The text was updated successfully, but these errors were encountered:
Mapperly supports base classes with mapping methods which have a body.
E.g.
In this sample, when the
DtoMapper
needs to map aDateTime
to aDateOnly
Mapperly will use theDateMapper.DateTimeToDateOnly
method.However if the
DateMapper
is itself aMapper
with partial methods, these won't be re-used. This should be improved.E.g.
If the
DtoMapper
needs to map a property of source typeBaseObject
to target typeBaseDto
it should re-use the already built mappingBaseMapper.ToBaseDto
, but this currently does not work.The text was updated successfully, but these errors were encountered: