<div dir="ltr">On Sat, Mar 31, 2018 at 2:19 PM, Gunnar Morling <span dir="ltr">&lt;<a href="mailto:gunnar@hibernate.org" target="_blank">gunnar@hibernate.org</a>&gt;</span> wrote:<br><div class="gmail_extra"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><span class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><ul><ul><li>If more than one are marked with @UnwrapByDefault, a ConstraintDeclarationException is raised.</li></ul></ul></div></div></div></blockquote></span>I don&#39;t think we can or should do this, instead no extractor should be applied in this case. It&#39;d contradict quite clearly the spec&#39;s wording &quot;Otherwise, no value extractor is applied.&quot; Also the idea was that implicitly applied extractors should be applied implicitly if it&#39;s doable unambiguously, but they shouldn&#39;t cause any sort of configuration exception otherwise.</div></div></div></blockquote><div><br></div><div>Yes, I&#39;m stating that the spec is incorrect here and should be corrected.</div><div><br></div><div>In all the other cases when we have competing value extractors, we throw an error. Why not in this case?</div><div><br></div><div>Typically, you would have your constraints applied on the container elements, then you add another value extractor, and your constraints are then applied silently to the container instead of the container elements. That sounds like the wrong approach.</div><div><br></div><div>-- </div><div>Guillaume</div></div><br></div></div>