-
Notifications
You must be signed in to change notification settings - Fork 12
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
Not all Jackson exceptions mapper have been overruled #317
Comments
Our strategy till now was to simply wait for the community to report missing mappers... I guess your screenshot shows DevUI component? I can think of 2 improvements:
|
Yeah. it's the dev-ui component of resteasy-reactive.
This could work if you integrate with Quarkus (main) regularly. AFAIK you already do that, right?
From a user perspective, I would prefer the first option. Overall, I guess this is quite important because as a user I rely on a proper RFC7807 error format. |
We bump Quarkus version here regularly, and everytime it happens there's a big regression test run checking if
Second option would be also handy in case other quarkus extensions provide exception mappers - today it goes unnoticed. We can't cover all possible extensions in our tests suit and keep track of their releases. |
Quarkus: 3.4.3
Resteasy-Problem: 3.0.0
It seems like that not all
Jackson
exceptions are handled byresteasy-problem
.Although there is a mapper for
JsonProcessingException
, both child exceptionsMismatchedInputException
andInvalidDefinitionException
are handled by Jackson itself.According to the spec, this seems totally fine:
That is a little annoying cause it looks like you need to overrule each exception mapper individually.
Do you have any strategy in place to detected new mappers automatically?
The text was updated successfully, but these errors were encountered: