i learn springboot validation with hibernate-validator recently.
i write some custom validator
however it not work when i custom message
i want to valid a enum flag
relation class:
controller
messages.properties
error!!!
spring-boot-2.2.5
jdk11
spring-boot-starter-validation
Thanks for reporting this.
The issue was fixed by Alexander Gatsenko.
While waiting for the next releases, you can just use Integer[] instead of int[] and that should do the trick.