<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On 13 Jan 2017, at 13:29, Guillaume Smet &lt;<a href="mailto:guillaume.smet@gmail.com" class="">guillaume.smet@gmail.com</a>&gt; wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="gmail_extra"><div class="gmail_quote">On Fri, Jan 13, 2017 at 1:01 PM, Gunnar Morling <span dir="ltr" class="">&lt;<a href="mailto:gunnar@hibernate.org" target="_blank" class="">gunnar@hibernate.org</a>&gt;</span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Unfortunately, validationAppliesTo() is already taken:<br class="">
<a href="http://beanvalidation.org/latest-draft/spec/#constraintsdefinitionimplementation-constraintdefinition-validationappliesto" rel="noreferrer" target="_blank" class="">http://beanvalidation.org/<wbr class="">latest-draft/spec/#<wbr class="">constraintsdefinitionimplement<wbr class="">ation-constraintdefinition-<wbr class="">validationappliesto</a><br class="">
<br class="">
It's used to distinguish between return value and cross-parameter constraints.<br class="">
<br class="">
Any other name I can think of right now would make up for much<br class="">
confusion with that option.<br class=""></blockquote><div class=""><br class=""></div><div class="">Too good to be true :).<br class=""><br class=""></div><div class="">That being said, I'm wondering if we could reuse it and just add 2 other values to ConstraintTarget. All in all, it's the same concept. The default being IMPLICIT is not too bad either.<br class=""></div></div></div></div></div></blockquote></div><br class=""><div class="">Right I think it’s worth exploring.</div><div class="">I still like my group repurposing trick though even if it offenses the clean camp :)</div></body></html>