Valit v2.0.0 Release Notes
Release Date: 2018-10-07 // about 6 years ago-
All string rules has their predicates changed. Instead of
string.IsNullOrEmpty(argument)
onlynull
check is performed now. More details can be found in issue #166 . This is the reason why major version number has been bumped, since it may be a (business) breaking change for some folks.ValitRule
predicate does not get evealuated ifWhen()
condition is not fulfilled.
Previous changes from v1.0.0
-
- Changed Target Framework to .NET Standard 2.0
🚚 2. Removed
IValitRulesProvider<TObject>
interface. - Both Ensure and EnsureFor methods for nested objects accepts now
IValitator<TObject>
as a parameter. 0️⃣ 4. Each validation rule has now a default error message
- Changed Target Framework to .NET Standard 2.0
🚚 2. Removed