<div dir="ltr">Hi Michael,<div><br></div><div>This should work with EL based interpolation as of BV 1.1, using the expression ${validatedValue}.</div><div><br></div><div>Check 5.3.1.3. &quot;Message expressions using Expression Language (EL)&quot; [1]. Seems like this should do the trick, or is there anything missing for your use case?</div><div><br></div><div>Thanks,</div><div><br></div><div>--Gunnar </div><div><br></div><div>[1] <a href="http://beanvalidation.org/1.1/spec/#message-expressions">http://beanvalidation.org/1.1/spec/#message-expressions</a><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-09-06 20:47 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">Hi guys,<br>
<br>
I&#39;ve searched the spec to make sure this hasn&#39;t been solved yet and<br>
apparently it had not, but please let me know if I&#39;m wrong.<br>
<br>
I remember last year in my previous company struggling with the fact<br>
there was no way to include the actual invalid value as part of the<br>
message interpolation process. This is needed in many scenarios,<br>
especially when the actual invalid value is somehow derived or<br>
computed and the only way to report the error is by returning it in<br>
the interpolated message.<br>
<br>
Do you guys see any value in providing support for that in the spec?<br>
<br>
Regards,<br>
Michael<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>