<div dir="ltr">Hi Michael,<div><br></div><div>How is it going with the date/time proposal? Anything we should publish on the website?</div><div><br></div><div>Regarding cross-field validation, can you detail your idea around &quot;pair of Comparables&quot;? </div><div><br></div><div>--Gunnar</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-28 16:18 GMT+02:00 Michael Nascimento <span dir="ltr">&lt;<a href="mailto:misterm@gmail.com" target="_blank">misterm@gmail.com</a>&gt;</span>:<br><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="">On Wed, Sep 28, 2016 at 11:10 AM, Gunnar Morling <span dir="ltr">&lt;<a href="mailto:gunnar@hibernate.org" target="_blank">gunnar@hibernate.org</a>&gt;</span> wrote:<br><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"><div>For reference, that&#39;s the question:</div><div><br></div><div>&gt; One of the most common scenarios with date/time types (applies to ranges of all types </div><div>&gt; though) is to have a start and end property for which start must be (sometimes equal or) </div><div>&gt; greater than now and end must be (sometimes equal or) greater than start. Are we not </div><div>&gt; supporting this somehow?</div><div><br></div><div>There is no explicit support for this in the spec. Currently you&#39;d have to write your custom class-level constraint for this sort of cross-field validation (or use something as @ScriptAssert from the RI).</div></div></div></div></blockquote><div><br></div></span><div>I think my team was using class-level constraints for that before :-(</div><span class=""><div> </div><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"><div>I definitely see how it&#39;s a sore point.</div></div></div></div></blockquote><div><br></div></span><div>It is. It would be really nice to support this, probably for any pair of Comparables. What do you think?</div><div><br></div><div>Regards,</div><div>Michael</div></div></div></div>
<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><br></div>