<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, "Gunnar Morling" <<a href="mailto:gunnar@hibernate.org">gunnar@hibernate.org</a>> 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'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 <<a href="mailto:gunnar@hibernate.org">gunnar@hibernate.org</a>>:<br>
> Hey all,<br>
><br>
> After last week's Proposed Final Draft, we are almost there for the<br>
> submission to the Final Approval Ballot.<br>
><br>
> I'd like to do a CR 2 release of the spec tomorrow, which is about<br>
> adding some clarifications, polishing comments, formatting and things<br>
> like that. You can find the complete list of issues here:<br>
> <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>
><br>
> During reviews we've also noticed a small set of things that mandated<br>
> fixes to the API. These are:<br>
><br>
> * BVAL-569 [1] - "Remove TYPE from targets of @ConvertGroup for<br>
> consistency with @Valid" - @ConvertGroup was accidentally allowed to<br>
> be given on type definitions, too (unlike @Valid which it always must<br>
> accompany). This has been corrected by removing TYPE from the set of<br>
> supported targets; the change is strictly binary and source<br>
> compatible, as a) annotation targets are only checked at compile time<br>
> but not runtime and b) the newly introduced target of TYPE_USE also<br>
> allows the annotation to be given on type definitions; so it's a mere<br>
> cosmetic change<br>
><br>
> * BVAL-689 [2] - "Make @ConvertGroup#from() default to Default.class"<br>
> - this simplifies group conversions in the common case where the<br>
> default group is converted<br>
><br>
> * BVAL-674 [3] - "Rename ConstraintDescriptor#<wbr>validateUnwrappedValue()<br>
> into getValueUnwrapping()" - the method name sounded like a "command"<br>
> before, whereas the new name makes clear it's a "query" kind of<br>
> method; also the members of the returned enum have been adapted to be<br>
> in sync with the corresponding Unwrapping payload type names; also<br>
> there's a new method ConstraintDescriptor#unwrap(<wbr>Class), our common<br>
> loophole allowing providers to add additional functionality; this<br>
> eases exploration of such features and future standardization<br>
><br>
> Another interesting change is this:<br>
><br>
> * BVAL-613 [4] - Add an Automatic-Module-Name entry to the JAR<br>
> manifest; fixing the module name to "java.validation" as recommended<br>
> in the spec appendix when using the reference API JAR as an automatic<br>
> module on JPMS<br>
><br>
> With the CR 2, I consider the spec as feature complete and am only<br>
> expecting small changes like typo fixes and the like between CR 2 and<br>
> CR 3, the version to be submitted for the Final Approval Ballot. We<br>
> got one more week for that, i.e. I'll submit to the FAB on July 11th.<br>
><br>
> Please use this remaining time for reviewing and pointing out any<br>
> remaining glitches (I hope there are none of course :).<br>
><br>
> Cheers,<br>
><br>
> --Gunnar<br>
><br>
> [1] <a href="https://hibernate.atlassian.net/browse/BVAL-569" rel="noreferrer" target="_blank">https://hibernate.atlassian.<wbr>net/browse/BVAL-569</a><br>
> [2] <a href="https://hibernate.atlassian.net/browse/BVAL-689" rel="noreferrer" target="_blank">https://hibernate.atlassian.<wbr>net/browse/BVAL-689</a><br>
> [3] <a href="https://hibernate.atlassian.net/browse/BVAL-674" rel="noreferrer" target="_blank">https://hibernate.atlassian.<wbr>net/browse/BVAL-674</a><br>
> [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>