Mapster
Mapster copied to clipboard
RequireExplicitMapping option fails the compilation for same type-to-type mapping
To reproduce :
TypeAdapterConfig.GlobalSettings.RequireExplicitMapping = true;
class B{
public int id;
}
[Mapper]
public interface IDemoMapping {
B Map(B b);
}