::validateAndCreate() doesn't triggers InputNameMapper before validation #652
-
DTO: it's rules: it's usage: request field: and response: When I change rule field name to snake_case it starts to work: Is is a bug or am I doing something wrong? |
Beta Was this translation helpful? Give feedback.
Answered by
rubenvanassche
Feb 9, 2024
Replies: 1 comment
-
Yeah this is a known problem, basically, when using mapped property names the validation messages will use the wrong names. We're hoping to fix this as soon as possible. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jebbyk
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Yeah this is a known problem, basically, when using mapped property names the validation messages will use the wrong names. We're hoping to fix this as soon as possible.