Is it possible to reuse a mapper in other mappers automagically? #1542
Replies: 1 comment
-
Have you tried using |
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
-
Example I've a mapper to convert Customer to CustomerDto:-
Now I want this to be reused when another object's mapper requires to convert Customer to CustomerLite. Eg when converting Invoice to InvoiceDetailResponse, I want invoice.Customer to be translated to CustomerLite using already declared method above.
Beta Was this translation helpful? Give feedback.
All reactions