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