bartoszlenar / Validot

Validot is a performance-first, compact library for advanced model validation. Using a simple declarative fluent interface, it efficiently handles classes, structs, nested members, collections, nullables, plus any relation or combination of them. It also supports translations, custom logic extensions with tests, and DI containers.
MIT License
311 stars 19 forks source link

WithFailFastStrategy - fail fast, but only in the related scope #5

Open bartoszlenar opened 4 years ago

bartoszlenar commented 4 years ago

Feature description

Feature in action

Specification<Model> specification = s => s
    .Member(m => m.Member, memberSpecification).WithFailFastStrategy();
Specification<Model> specification = s => s
    .AsModel(anotherSpecification).WithFailFastStrategy();

Feature details