Replies: 1 comment 1 reply
-
@rholand3 would this one help? #12 It is currently planned for v2. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
While I have no problem with validation problem details, or problem details in general, with the way that the filter is implemented I am forced to use them. I have a scenario where the ValidationProblemDetails doesn't work, and I would like to Customize the response object to use Error codes, in addition to the error messages, but because the custom resolver is called after the validation result is already converted to a
ValidationProblemDetails
I don't have any control to be able to change that. It would be nice if we could customize a result or a Problem Details based on theValidationResult
, rather then theValidationProblemDetails
. I know I can change the validation result by creating an interceptor, but unless I throw an exception, I can't really change the actual response.Beta Was this translation helpful? Give feedback.
All reactions