Valit v2.0.0 Release NotesRelease Date: 2018-10-07 // about 3 years ago
All string rules has their predicates changed. Instead of
nullcheck 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.
ValitRulepredicate does not get evealuated if
When()condition is not fulfilled.
Previous changes from v1.0.0
- Changed Target Framework to .NET Standard 2.0
🚚 2. Removed
- 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