<div dir="auto">What does anyone think about adding #unwrap() to ElementDescriptor?<div dir="auto"><br></div><div dir="auto">Matt</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Jul 5, 2017 12:32 PM, &quot;Gunnar Morling&quot; &lt;<a href="mailto:gunnar@hibernate.org">gunnar@hibernate.org</a>&gt; wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
The CR 2 has been released:<br>
<br>
* Announcement:<br>
<a href="http://beanvalidation.org/news/2017/07/05/bean-validation-2-0-cr2-is-out/" rel="noreferrer" target="_blank">http://beanvalidation.org/<wbr>news/2017/07/05/bean-<wbr>validation-2-0-cr2-is-out/</a><br>
* Spec: <a href="http://beanvalidation.org/2.0/spec/2.0.0.cr2/" rel="noreferrer" target="_blank">http://beanvalidation.org/2.0/<wbr>spec/2.0.0.cr2/</a><br>
* Full Diff: <a href="http://beanvalidation.org/2.0/spec/2.0.0.cr2/diff/diff-to-1.1/" rel="noreferrer" target="_blank">http://beanvalidation.org/2.0/<wbr>spec/2.0.0.cr2/diff/diff-to-1.<wbr>1/</a><br>
<br>
As announced earlier, the FAB submission is due early next week.<br>
Please let me know if you have any further comments or remarks. Does<br>
anyone see anything which should be addressed before doing the<br>
submission? If nothing comes up, I&#39;ll push the button on Tuesday.<br>
<br>
Thanks,<br>
<br>
--Gunnar<br>
<br>
<br>
<br>
<br>
2017-07-04 16:26 GMT+02:00 Gunnar Morling &lt;<a href="mailto:gunnar@hibernate.org">gunnar@hibernate.org</a>&gt;:<br>
&gt; Hey all,<br>
&gt;<br>
&gt; After last week&#39;s Proposed Final Draft, we are almost there for the<br>
&gt; submission to the Final Approval Ballot.<br>
&gt;<br>
&gt; I&#39;d like to do a CR 2 release of the spec tomorrow, which is about<br>
&gt; adding some clarifications, polishing comments, formatting and things<br>
&gt; like that. You can find the complete list of issues here:<br>
&gt; <a href="https://hibernate.atlassian.net/issues/?jql=project%20%3D%20BVAL%20AND%20fixVersion%20%3D%202.0.0.CR2%20ORDER%20BY%20status%20DESC" rel="noreferrer" target="_blank">https://hibernate.atlassian.<wbr>net/issues/?jql=project%20%3D%<wbr>20BVAL%20AND%20fixVersion%20%<wbr>3D%202.0.0.CR2%20ORDER%20BY%<wbr>20status%20DESC</a><br>
&gt;<br>
&gt; During reviews we&#39;ve also noticed a small set of things that mandated<br>
&gt; fixes to the API. These are:<br>
&gt;<br>
&gt; * BVAL-569 [1] - &quot;Remove TYPE from targets of @ConvertGroup for<br>
&gt; consistency with @Valid&quot; - @ConvertGroup was accidentally allowed to<br>
&gt; be given on type definitions, too (unlike @Valid which it always must<br>
&gt; accompany). This has been corrected by removing TYPE from the set of<br>
&gt; supported targets; the change is strictly binary and source<br>
&gt; compatible, as a) annotation targets are only checked at compile time<br>
&gt; but not runtime and b) the newly introduced target of TYPE_USE also<br>
&gt; allows the annotation to be given on type definitions; so it&#39;s a mere<br>
&gt; cosmetic change<br>
&gt;<br>
&gt; * BVAL-689 [2] - &quot;Make @ConvertGroup#from() default to Default.class&quot;<br>
&gt; - this simplifies group conversions in the common case where the<br>
&gt; default group is converted<br>
&gt;<br>
&gt; * BVAL-674 [3] - &quot;Rename ConstraintDescriptor#<wbr>validateUnwrappedValue()<br>
&gt; into getValueUnwrapping()&quot; - the method name sounded like a &quot;command&quot;<br>
&gt; before, whereas the new name makes clear it&#39;s a &quot;query&quot; kind of<br>
&gt; method; also the members of the returned enum have been adapted to be<br>
&gt; in sync with the corresponding Unwrapping payload type names; also<br>
&gt; there&#39;s a new method ConstraintDescriptor#unwrap(<wbr>Class), our common<br>
&gt; loophole allowing providers to add additional functionality; this<br>
&gt; eases exploration of such features and future standardization<br>
&gt;<br>
&gt; Another interesting change is this:<br>
&gt;<br>
&gt; * BVAL-613 [4] - Add an Automatic-Module-Name entry to the JAR<br>
&gt; manifest; fixing the module name to &quot;java.validation&quot; as recommended<br>
&gt; in the spec appendix when using the reference API JAR as an automatic<br>
&gt; module on JPMS<br>
&gt;<br>
&gt; With the CR 2, I consider the spec as feature complete and am only<br>
&gt; expecting small changes like typo fixes and the like between CR 2 and<br>
&gt; CR 3, the version to be submitted for the Final Approval Ballot. We<br>
&gt; got one more week for that, i.e. I&#39;ll submit to the FAB on July 11th.<br>
&gt;<br>
&gt; Please use this remaining time for reviewing and pointing out any<br>
&gt; remaining glitches (I hope there are none of course :).<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; --Gunnar<br>
&gt;<br>
&gt; [1] <a href="https://hibernate.atlassian.net/browse/BVAL-569" rel="noreferrer" target="_blank">https://hibernate.atlassian.<wbr>net/browse/BVAL-569</a><br>
&gt; [2] <a href="https://hibernate.atlassian.net/browse/BVAL-689" rel="noreferrer" target="_blank">https://hibernate.atlassian.<wbr>net/browse/BVAL-689</a><br>
&gt; [3] <a href="https://hibernate.atlassian.net/browse/BVAL-674" rel="noreferrer" target="_blank">https://hibernate.atlassian.<wbr>net/browse/BVAL-674</a><br>
&gt; [4] <a href="https://hibernate.atlassian.net/browse/BVAL-613" rel="noreferrer" target="_blank">https://hibernate.atlassian.<wbr>net/browse/BVAL-613</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>
</blockquote></div></div>