Replies: 2 comments 8 replies
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
As a workaround to avoid customizing serialization you could set your |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
As a workaround to avoid customizing serialization you could set your |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello there,
Consider the following entity:
Whenever an API consumer (the JS app) populates
items
with more than 10 elements, it gets the following response:However, for non-english speakers, some validation error messages are pretty hard to understand (and make the reading inconsistent as different languages are mixed).
So, I thought about mapping
violations[*].code
to a set of xlated messages on the front-end side, except I cannot easily access the variable(s) that triggered the violation (here:max
with a value of10
).What's the best way to tackle this? I assume I'm not the 1st one to face that issue.
Thanks,
Ben
Beta Was this translation helpful? Give feedback.
All reactions