-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Message interpolation does not work for expression language #61
Comments
Hello, i still have that error, is there a way to fix it ? Thanks |
I proposed a fix, let see how it goes #98 |
Any news on a fix for this? We're running into it too. |
@dondonz I think you've merged a few PRs in this repo. can you help move a fix along for this? |
I'm seeing the same issue. Where is this repo at with this change request? |
Hello, thanks for reporting the issue and the PR. Let me get back to you when the team is back from the end of year holidays |
Describe the bug
When using variable interpolation using expression language (EL) in messages, an exception is thrown where the property that is used in the evaluation of the expression is not found so the EL part of the message does not get interpolated.
Exception thrown in the
ElTermResolver#interpolate(...)
method:To Reproduce
An example where this happens is in
@DecimalMin
(or@DecimalMax
) that has the default messages:For example, this GraphQL mutation with inputs:
When passing in an invalid value like
1
, will generate the following error message:The
{path}
and{value}
are getting interpolated, but not the EL.The text was updated successfully, but these errors were encountered: