You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Having custom JSR380 validations on the backend, it would be handy if there was a way of intercepting to the message returned by the endpoint to translate it before presenting them to the user. The i18n of the messages for server-side validations can be handled at the backend as well, but having all the translations on the client-side makes it easier to maintain.
Describe the solution you'd like
A message interpolation callback that accepts the name of the failed validations, and any additional contextual parameters and values from the validation errors that can help with finding the translation, and filling out the message parameters.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered:
Describe your motivation
Having custom JSR380 validations on the backend, it would be handy if there was a way of intercepting to the message returned by the endpoint to translate it before presenting them to the user. The i18n of the messages for server-side validations can be handled at the backend as well, but having all the translations on the client-side makes it easier to maintain.
Describe the solution you'd like
A message interpolation callback that accepts the name of the failed validations, and any additional contextual parameters and values from the validation errors that can help with finding the translation, and filling out the message parameters.
Describe alternatives you've considered
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: