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
Mapperly should use user defined void mapping methods where possible, similarly to how new instance mappings reuse methods.
Describe the solution you'd like
[Mapper]publicstaticpartialclassMapper{publicstaticpartialvoidMapTo(List<int>src,List<long>dst);publicstaticpartial Target Map(Sourcesrc);}publicclassSource{publicList<int> Value {get;}}publicclassTarget{publicList<long> Value {get;}}
Mapperly should use user defined void mapping methods where possible, similarly to how new instance mappings reuse methods.
Describe the solution you'd like
Should generate:
Note that this would be a breaking change.
Related #569 & #439
The text was updated successfully, but these errors were encountered: