Improvements for Mapster Tool - #1011
Conversation
Create Explicit implementation from Mappers interfaces
This comment was marked as resolved.
This comment was marked as resolved.
|
@andrerav or emulation step
we get valid mapper : I thought this shouldn't work, but the assembly with this class compiles and the mapper itself works when cast to the interface.🤔 |
…ic interfaces with internal member and test refactoring
|
@andrerav If I'm not mistaken in the current implementation😃 Now mapper members are created correctly depending on the public/internal access modifiers specified for it or using for maping internal clases. And IsInternal continues to work as before, forcing the creation of an internal mapper with an internal members. |
1) property or method maks as public 2) property or method using only public clases 3) not using IsInternal atrribute
|
@DocSvartz Your approach is more general and solves both #399 and more. I closed my own PR, which had issues as you pointed out. |
|
@andrerav Perhaps it's worth adding Due to the use of the |
Improvements for generating mappers from interface :
[MapsterToolGeneratedMapper]