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?
to your account
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)
The text was updated successfully, but these errors were encountered:
Sébastien Deleuze commented
That's the expected behavior (even if surprising the first time) as described in the reference documentation.
Sorry, something went wrong.
Successfully merging a pull request may close this issue.