You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to request a feature which allows you to declare members to skip of an interface. When a class inherits from that interface, the specified members to skip will also affect the class.
Code:
//Skip members by interface
AutoFaker.Configure(builder =>
{
builder.WithSkip<IEntityBase>(x => x.CreatedBy);
}
//Instead of by class:
AutoFaker.Configure(builder =>
{
builder
.WithSkip<EntityFoo>(x => x.CreatedBy)
.WithSkip<EntityBar>(x => x.CreatedBy)
.WithSkip<EntityOther>(x => x.CreatedBy);
}
I will submit a PR for this
The text was updated successfully, but these errors were encountered:
I want to request a feature which allows you to declare members to skip of an interface. When a class inherits from that interface, the specified members to skip will also affect the class.
Code:
I will submit a PR for this
The text was updated successfully, but these errors were encountered: