<div dir="ltr">
        
        
        
<p style="margin-bottom:0in"><span style="line-height:17.8px"><font face="monospace, monospace">Hi all,</font></span></p><p style="margin-bottom:0in"><span style="line-height:17.8px"><font face="monospace, monospace">It would be possible to add some built-in constraints to the V 2.0?</font></span></p><p style="margin-bottom:0in"><span style="font-family:monospace,monospace;line-height:17.8px">@NotBlank, @NotEmpty, @Length are used very often in projects, they are already present in Hibernate Validator and their implementation is well defined.</span><span style="line-height:17.8px"><font face="monospace, monospace"><br></font></span></p><p style="margin-bottom:0in"><span style="line-height:17.8px"><font face="monospace, monospace">What do you think?</font></span></p><p style="margin-bottom:0in"><span style="line-height:17.8px"><font face="monospace, monospace">Here a list of the most used constraint for GitHub's projects (the numbers change at every request but you get the idea. HV = </font></span><span style="font-family:monospace,monospace;line-height:17.8px">Hibernate Validator, BV = Bean Validation</span><span style="font-family:monospace,monospace;line-height:17.8px">):</span></p><p style="margin-bottom:0in"><font face="monospace, monospace"><span style="line-height:17.8px">189'143 - BV - NotNull<br></span><span style="line-height:17.8px"> 56'902 - BV - Size<br></span><span style="line-height:17.8px"> 39'551 - HV - NotEmpty <-<br></span></font><span style="line-height:17.8px;font-family:monospace,monospace"> 20'687 - HV - NotBlank <-<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 17'735 - BV - Pattern<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 16'763 - HV - Email<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 16'033 - BV - Min<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 12'769 - HV - Length <-<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 7'806 - BV - Digits<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 4'982 - BV - Max<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 4'971 - BV - Past<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 3'598 - BV - DecimalMin<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 2'753 - BV - AssertTrue<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 2'379 - BV - DecimalMax<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 2'308 - BV - Future<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 1'999 - HV - Range<br></span><span style="font-family:monospace,monospace;line-height:17.8px"> 1'497 - HV - URL<br></span><span style="font-family:monospace,monospace;line-height:17.8px">< 1'000 other constraints</span></p><p style="margin-bottom:0in"><span style="line-height:17.8px"><font face="monospace, monospace">Thanks</font></span></p><p style="margin-bottom:0in"><span style="line-height:17.8px"><font face="monospace, monospace">Cheers</font></span></p><p style="margin-bottom:0in"><span style="line-height:17.8px"><font face="monospace, monospace">Marco</font></span></p></div>