<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"><<a href="mailto:gunnar@hibernate.org" target="_blank">gunnar@hibernate.org</a>></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's done in the PRs)? It essentially prescribes an "implementation",<br>
i.e. providers wouldn'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'm not convinced it'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>