Package graphql.execution.instrumentation.fieldvalidation
package graphql.execution.instrumentation.fieldvalidation
-
ClassDescriptionThis represents a field and its arguments that may be validated.This pluggable interface allows you to validate the fields and their argument inputs before query execution.This contains all of the field and their arguments for a given query.This
Instrumentation
allows you to validate the fields of the query before the query is executed.This very simple field validation will run the supplied function for a given field path and if it returns an error it will be added to the list of problems.