<div dir="ltr">+1<div><br></div><div>If everyone could take a look at this one, that&#39;d be great! It&#39;s a bit more complex, so the more eyes we get on this one, the better.</div><div><br></div><div>Thanks!</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-19 13:28 GMT+02:00 Emmanuel Bernard <span dir="ltr">&lt;<a href="mailto:emmanuel@hibernate.org" target="_blank">emmanuel@hibernate.org</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">This is probably going to be most visible feature of Bean Validation<br>
2.0. We particularly need your feedback and involvement on this one.<br>
<span class="HOEnZb"><font color="#888888"><br>
Emmanuel<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Tue 2016-09-06 18:12, Emmanuel Bernard wrote:<br>
&gt;Hi all,<br>
&gt;<br>
&gt;I and a few others have been working on a proposal to support things<br>
&gt;like Collection&lt;@Email String&gt; and Optional&lt;@Email String&gt;. This is<br>
&gt;more complicated that it seems at first glance.<br>
&gt;<br>
&gt;Instead of doing an ad-hoc support for the various collection types,<br>
&gt;Optional and the JavaFX Properties, we quickly decided to define the<br>
&gt;notion of container and the ability to declare constraints on contained<br>
&gt;elements to validate them.<br>
&gt;<br>
&gt;This lead to two main proposals that you can read at<br>
&gt;<a href="http://beanvalidation.org/proposals/BVAL-508/" rel="noreferrer" target="_blank">http://beanvalidation.org/<wbr>proposals/BVAL-508/</a><br>
&gt;<br>
&gt;This is a relatively long read, you can start by ignoring &quot;alternative&quot;<br>
&gt;options for your first pass. We are very interested in feedback at this<br>
&gt;stage as we have been pushing these proposal very far already and they<br>
&gt;would need to become part of the spec as next step.<br>
&gt;<br>
&gt;Let me know of what you think, questions, remarks etc.<br>
&gt;<br>
&gt;In particular, I&#39;m interested in what you think of the following.<br>
&gt;<br>
&gt;The capability to define custom containers.<br>
&gt;<br>
&gt;The extractor approach vs its alternative.<br>
&gt;<br>
&gt;The concepts of @ConstraintsAppliesTo(<wbr>COMTAINED) used for JavaFX and for<br>
&gt;subclasses of containers.<br>
&gt;<br>
&gt;@Valid, in particular the legacy and new forms and how to handle the<br>
&gt;transition.<br>
&gt;<br>
&gt;And finally, but a big one, what do you think of proposal 1 vs proposal<br>
&gt;2. The latter being more generic but with more open questions (and a<br>
&gt;less elaborated at this stage).<br>
&gt;<br>
&gt;Emmanuel<br>
&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></div>