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

Add custom Kotlin serializers for ValidationReport and Violation #38064

Conversation

marko-bekhta
Copy link
Contributor

@marko-bekhta marko-bekhta commented Jan 5, 2024

The idea here is to register a couple of custom serializers for violation report classes if a validator dependency is available. I've added tests to a new module. As the validator is added as an optional dependency to quarkus-resteasy-reactive-kotlin-serialization it would probably be best if we test serialization in both scenarios.

@quarkus-bot quarkus-bot bot added the area/rest label Jan 5, 2024

This comment has been minimized.

@geoand
Copy link
Contributor

geoand commented Jan 8, 2024

Seems reasonable to me!

Not sure what to make of the CI failures however... Maybe try rebasing onto main?

@marko-bekhta marko-bekhta force-pushed the fix/i36558-kotlin-serialization-validation-report branch from a8fd23a to 6b6cb77 Compare January 8, 2024 17:12
@marko-bekhta
Copy link
Contributor Author

Thanks for taking a look. Yeah, me neither ... failures do not look related, but then .. who knows 🙈 😃
Rebased, let's see how it goes this time 🤞🏻

@geoand geoand merged commit 49e95bb into quarkusio:main Jan 9, 2024
48 of 49 checks passed
@quarkus-bot quarkus-bot bot added this to the 3.7 - main milestone Jan 9, 2024
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.

Kotlinx.serialization not configured to work with Quarkus Hibernate Validation out of the box
2 participants