You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The way of working for some validation rules has changed.
Previously some of them were performing a notNullRule check before this their own work. This was some not needed since it was breaking the single responsibility principle and was also forcing the client of the API to use extra not null checks in order to apply the rule.
Currently if the value passed to those validation rules is null then the validation is considered as passed and no violation is returned.
The changed rules are: lengthBetween, matchRegexRule, inRangeRule, minRule, positiveOrZeroRule, positiveRule, negativeOrZeroRule, negativeRule, maxRule, compareComparableRule, compareStringsRule.