When using the c#11.0 required feature, the generated mappers fail. Editinh Sample.CodeGen for example:
public class Person
{
public required int ID { get; set; }
public string LastName { get; set; }
public string FirstMidName { get; set; }
}
And looking at the generated StudentMapper:
