Quantcast
Channel: Fluent Validation for .NET
Viewing all articles
Browse latest Browse all 1917

New Post: Breaking change in 4.0?

$
0
0
Hi

I did think for a while whether or not I should make this change as I knew it would be breaking, but I think it's better in the long run.

This brings the Length validator in-line with other validators which do not execute if the value is null, because this is the role of the NotNullValidator. Additionally, it's consistent with the DataAnnotations StringLength validator.

Jeremy

Viewing all articles
Browse latest Browse all 1917

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>