sergey-gindin
sergey-gindin
Does this solution support codegeneration with mapster tool? I got Cannot convert immutable type, please consider using 'MapWith' method to create mapping. But i cant use 'MapWith' wit generic types....
@stagep @DocSvartz I suggest Mappster detect class with only RepeatedField as immutable because RepeatedField property hasn't public setter. ``` public sealed partial class GetCountryTariffsGrpcResponse : pb::IMessage { ... /// Field...
@DocSvartz I use Mapster 7.4.1-pre01 and Mapster.Tool 8.4.1-pre01 also I created MyRegister class ``` public class MyRegister : ICodeGenerationRegister { public void Register(CodeGenerationConfig config) { TypeAdapterConfig.GlobalSettings.Default .UseDestinationValue(member => member.SetterModifier ==...
@DocSvartz Thanks! It's work! It was my bad. I'm newbie in Mapster. I used ICodeGenerationRegister instead of IRegister. Any ideas to except public bool IsPoco walkaround ?