Closed
Description
Viacheslav Petriaiev opened SPR-17085 and commented
Hello, I have the next issue
javax.validation annotations (for example @NotEmpty
) is not working properly with kotlin data class
Not working data class
data class User(@NotNull val login: String? = null)
Working data class
data class User(@field:NotNull val login: String? = null)
Thanks
Affects: 5.0.7
Issue Links:
- Validation failure not exposed next to binding failure for immutable form class [SPR-16841] #21381 Validation failure not exposed next to binding failure for immutable form class