<div dir="ltr">I also think that adding the most popular 3rd party constraints directly to the spec is a good thing. Especially @NotBlank and @NotEmpty. <div><br></div><div>However, I also agree that it would be nice to gather more feedback from the community to learn which constraints people would like to see in the spec.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-06 20:50 GMT+02:00 Michael Nascimento <span dir="ltr"><<a href="mailto:misterm@gmail.com" target="_blank">misterm@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">+1 to including them.<br>
<br>
Regards,<br>
Michael<br>
<div class="HOEnZb"><div class="h5"><br>
On Mon, Aug 22, 2016 at 2:37 PM, Marco Molteni <<a href="mailto:moltenma@gmail.com">moltenma@gmail.com</a>> wrote:<br>
> Hi all,<br>
><br>
> It would be possible to add some built-in constraints to the V 2.0?<br>
><br>
> @NotBlank, @NotEmpty, @Length are used very often in projects, they are<br>
> already present in Hibernate Validator and their implementation is well<br>
> defined.<br>
><br>
> What do you think?<br>
><br>
> Here a list of the most used constraint for GitHub's projects (the numbers<br>
> change at every request but you get the idea. HV = Hibernate Validator, BV =<br>
> Bean Validation):<br>
><br>
> 189'143 - BV - NotNull<br>
> 56'902 - BV - Size<br>
> 39'551 - HV - NotEmpty <-<br>
> 20'687 - HV - NotBlank <-<br>
> 17'735 - BV - Pattern<br>
> 16'763 - HV - Email<br>
> 16'033 - BV - Min<br>
> 12'769 - HV - Length <-<br>
> 7'806 - BV - Digits<br>
> 4'982 - BV - Max<br>
> 4'971 - BV - Past<br>
> 3'598 - BV - DecimalMin<br>
> 2'753 - BV - AssertTrue<br>
> 2'379 - BV - DecimalMax<br>
> 2'308 - BV - Future<br>
> 1'999 - HV - Range<br>
> 1'497 - HV - URL<br>
> < 1'000 other constraints<br>
><br>
> Thanks<br>
><br>
> Cheers<br>
><br>
> Marco<br>
><br>
><br>
</div></div><div class="HOEnZb"><div class="h5">> ______________________________<wbr>_________________<br>
> beanvalidation-dev mailing list<br>
> <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.<wbr>jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/<wbr>beanvalidation-dev</a><br>
______________________________<wbr>_________________<br>
beanvalidation-dev mailing list<br>
<a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.<wbr>jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/beanvalidation-dev" rel="noreferrer" target="_blank">https://lists.jboss.org/<wbr>mailman/listinfo/<wbr>beanvalidation-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div>Christian Kaltepoth</div><div>Blog: <a href="http://blog.kaltepoth.de/" target="_blank">http://blog.kaltepoth.de/</a></div><div>Twitter: <a href="http://twitter.com/chkal" target="_blank">http://twitter.com/chkal</a></div><div>GitHub: <a href="https://github.com/chkal" target="_blank">https://github.com/chkal</a></div><div><br></div></div>
</div>