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

Reactive routes - handle constraint violations consistently #16950

Merged
merged 1 commit into from
May 4, 2021

Conversation

mkouba
Copy link
Contributor

@mkouba mkouba commented May 3, 2021

- a non-String non-Buffer return value is automatically encoded as JSON,
we should do the same if a constraint violation occurs
- resolves quarkusio#15159
@mkouba mkouba requested a review from cescoffier May 3, 2021 14:15
@cescoffier cescoffier merged commit c9b2302 into quarkusio:main May 4, 2021
@quarkus-bot quarkus-bot bot added this to the 2.0 - main milestone May 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bean Validation on Vert.x Routes is not automatically mapped to JSON
2 participants