-
Notifications
You must be signed in to change notification settings - Fork 69
Bean validation does not work on a coroutine controller #38
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
Comments
Having the same exact issue. Is there any workaround for this? |
I guess we'll just wait for Spring 5.2 to land. |
I already tried with Spring Boot 2.2.0 M3 (which uses Spring 5.2) and the issue still exists. So I have some doubts on if Spring 5.2 will fix this on release |
@FearlessHyena perhaps you can report it on the Spring 5.2 issue tracker, though? There's still time :) |
Good point. I should report there 👍 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Adding a
@Validated
annotation to a coroutine controller (neither for WebMVC nor Webflux).I'm not sure if this is necessarily an issue with
spring-kotlin-coroutine
though, or with Spring's bean validation framework.Partial stacktrace for WebMVC (created simply by adding
@Validated
to the testCoroutineController
):The text was updated successfully, but these errors were encountered: