Mapster icon indicating copy to clipboard operation
Mapster copied to clipboard

Please support arbitrary parameters on interface when generating mapper

Open jvmlet opened this issue 2 years ago • 2 comments

[Mapper]
public interface IMyMapper{
    B Map(A a, string arbitraryString, int anotherParam );
}

class A{
 string Name;
}
class B{
 string Name; // maps directly from A.Name
 string  Val; //will be mapped from arbitraryString
 int  Age //will be mapped fromanotherParam  ;
}

jvmlet avatar Jan 24 '23 12:01 jvmlet

In order to identify issues that are still active, we are closing issues that we believe are either resolved or are dormant. If your issue is still active then please reopen. Thanks.

stagep avatar Jan 07 '25 23:01 stagep

Please reopen

jvmlet avatar Feb 03 '25 22:02 jvmlet