Configuring Inheritted Class Not Working
zhengbli opened this issue · comments
Zhengbo Li commented
This might be related to #25, but still exist in the latetst release.
void Main()
{
GenFu.GenFu.Configure<Question>().Fill(q => q.NormalizedEmail, q => q.Email);
var t = A.ListOf<Question>(20);
t.Dump();
}
public class Base
{
public string Email { get; set; }
public string NormalizedEmail { get; set; }
}
public class Question: Base
{
public string Id { get; set; }
}
GenFu Version 1.3.3.
David Paquette commented
This was fixed in v1.6.0