#
Error Feedback on Validation
Add the dependency:
<dependency>
<groupId>io.github.fhnaumann</groupId>
<artifactId>ucumate-error-feedback</artifactId>
<version>1.0.3-SNAPSHOT</version>
</dependency>
This will automatically inject the FeedbackValidator
into the UCUMService
.
The new validator tries to generate error messages with details on the invalid parts. Below is a table containing common errors that will be captured, analyzed, and explained in the error message.
Automatically Fix Errors
Currently, the validator only provides detailed error messages, but it does not correct anything. Please get in contact if there is need for a validator that tries to automatically fix invalid inputs.