Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

@RequestBody validation kotlin support improvement [SPR-17085] #21622

spring-projects-issues opened this issue Jul 25, 2018 · 1 comment


Copy link

@spring-projects-issues spring-projects-issues commented Jul 25, 2018

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)


Affects: 5.0.7

Issue Links:

  • #21381 Validation failure not exposed next to binding failure for immutable form class
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants