Improve quarkus-hibernate-reactive-rest-data-panache Hibernate Validation Violation Errors - Property Path #29047
Labels
area/hibernate-reactive
Hibernate Reactive
area/panache
area/persistence
OBSOLETE, DO NOT USE
kind/enhancement
New feature or request
Milestone
Description
Currently when you generate violations such as:
Using a validator on a annotation that is used at the class level and using the generated POST method for entity creation/insert.
entity:
Validator
This generates a json response of:
the
add.arg0
appears to be coming fromRestDataResource
with theEntity add(Entity entity);
method? (https://github.com/quarkusio/quarkus/blob/main/extensions/panache/rest-data-panache/runtime/src/main/java/io/quarkus/rest/data/panache/RestDataResource.java#L52)Would be great if we could tailor this so the root makes sense for the output.
Implementation ideas
No response
The text was updated successfully, but these errors were encountered: