Class BeanValidationDirectivesHelper
java.lang.Object
io.smallrye.graphql.schema.helper.BeanValidationDirectivesHelper
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionFinds supported bean validation annotations within the `annotations` list and for each of them, generates a `DirectiveInstance` containing a corresponding `@constraint` GraphQL directive.
-
Field Details
-
CONSTRAINT_DIRECTIVE_TYPE
-
-
Constructor Details
-
BeanValidationDirectivesHelper
public BeanValidationDirectivesHelper()
-
-
Method Details
-
transformBeanValidationConstraintsToDirectives
public List<DirectiveInstance> transformBeanValidationConstraintsToDirectives(Annotations annotations) Finds supported bean validation annotations within the `annotations` list and for each of them, generates a `DirectiveInstance` containing a corresponding `@constraint` GraphQL directive.
-