<div dir="ltr">Hi Gunnar,<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 24, 2017 at 2:43 PM, Gunnar Morling <span dir="ltr">&lt;<a href="mailto:gunnar@hibernate.org" target="_blank">gunnar@hibernate.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
* Should @NotEmpty mandate the usage of constraint composition (as<br>
it&#39;s done in the PRs)? It essentially prescribes an &quot;implementation&quot;,<br>
i.e. providers wouldn&#39;t even need a constraint validator for it. But<br>
then this excludes any more efficient implementation a provider may<br>
have (well, they could by special-handling this constraint).<br></blockquote><div><br></div><div>I&#39;m not convinced it&#39;s such a good idea to use constraint composition for @NotBlank and @NotEmpty. I would let the implementation to the providers, especially since using constraint composition does not really buy us anything in this case.<br><br>-- <br></div><div>Guillaume<br></div></div></div></div></div>