smallrye-graphql icon indicating copy to clipboard operation
smallrye-graphql copied to clipboard

Add BeanValidation Annotations as `@constraint` Directives

Open t1 opened this issue 5 years ago • 0 comments

Many BeanValidation annotations could be mapped to @constraint directives that are specified, e.g., by graphql-constraint-directive. This would allow clients to validate user input directly in the frontend... even while typing... without repeating the constraints already defined in the backend model.

t1 avatar Sep 10 '20 08:09 t1