<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">&lt;<a href="mailto:misterm@gmail.com" target="_blank">misterm@gmail.com</a>&gt;</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 &lt;<a href="mailto:moltenma@gmail.com">moltenma@gmail.com</a>&gt; wrote:<br>
&gt; Hi all,<br>
&gt;<br>
&gt; It would be possible to add some built-in constraints to the V 2.0?<br>
&gt;<br>
&gt; @NotBlank, @NotEmpty, @Length are used very often in projects, they are<br>
&gt; already present in Hibernate Validator and their implementation is well<br>
&gt; defined.<br>
&gt;<br>
&gt; What do you think?<br>
&gt;<br>
&gt; Here a list of the most used constraint for GitHub&#39;s projects (the numbers<br>
&gt; change at every request but you get the idea. HV = Hibernate Validator, BV =<br>
&gt; Bean Validation):<br>
&gt;<br>
&gt; 189&#39;143 - BV - NotNull<br>
&gt;  56&#39;902 - BV - Size<br>
&gt;  39&#39;551 - HV - NotEmpty &lt;-<br>
&gt;  20&#39;687 - HV - NotBlank &lt;-<br>
&gt;  17&#39;735 - BV - Pattern<br>
&gt;  16&#39;763 - HV - Email<br>
&gt;  16&#39;033 - BV - Min<br>
&gt;  12&#39;769 - HV - Length &lt;-<br>
&gt;   7&#39;806 - BV - Digits<br>
&gt;   4&#39;982 - BV - Max<br>
&gt;   4&#39;971 - BV - Past<br>
&gt;   3&#39;598 - BV - DecimalMin<br>
&gt;   2&#39;753 - BV - AssertTrue<br>
&gt;   2&#39;379 - BV - DecimalMax<br>
&gt;   2&#39;308 - BV - Future<br>
&gt;   1&#39;999 - HV - Range<br>
&gt;   1&#39;497 - HV - URL<br>
&gt; &lt; 1&#39;000 other constraints<br>
&gt;<br>
&gt; Thanks<br>
&gt;<br>
&gt; Cheers<br>
&gt;<br>
&gt; Marco<br>
&gt;<br>
&gt;<br>
</div></div><div class="HOEnZb"><div class="h5">&gt; ______________________________<wbr>_________________<br>
&gt; beanvalidation-dev mailing list<br>
&gt; <a href="mailto:beanvalidation-dev@lists.jboss.org">beanvalidation-dev@lists.<wbr>jboss.org</a><br>
&gt; <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>