valit-stack / Valit

Valit is dead simple validation for .NET Core. No more if-statements all around your code. Write nice and clean fluent validators instead!
MIT License
322 stars 26 forks source link

Refactor resolving IValitResult from rules collection #150

Closed GooRiOn closed 6 years ago

GooRiOn commented 6 years ago

Currently we have 3 places where the code responsible for getting the result from rules is duplicated:

Would be cool if we could get rid of this somehow 👍