Bifrost icon indicating copy to clipboard operation
Bifrost copied to clipboard

Recursively include validators of any properties that has a validator existing for it - discover it all!

Open einari opened this issue 11 years ago • 1 comments

einari avatar May 06 '13 18:05 einari

Look into having something like an extension method or something that says Discover and hook up. The discovery extension method could apply to all properties, or just for individual rules :

public Constructor()
{
    DiscoverAll();

    RuleFor(m=>m.Something).Discover();
}

einari avatar May 08 '13 13:05 einari