TypeAdapterConfig<User, UserDto>.NewConfig()
.Ignore(dest => dest.Name);
var user = new User("Amichai");
var userDto = user.Adapt<UserDto>(); // <-- throws Mapster.CompileException: Error while compiling, with inner exception: System.ArgumentException: Incorrect number of arguments for constructor
The following will throw an exception:
Is this by design? Didn't see this documented