Class SimpleFieldValidation

    • Constructor Detail

      • SimpleFieldValidation

        public SimpleFieldValidation()
    • Method Detail

      • validateFields

        public java.util.List<GraphQLError> validateFields​(FieldValidationEnvironment validationEnvironment)
        Description copied from interface: FieldValidation
        This is called to validate the fields and their arguments
        Specified by:
        validateFields in interface FieldValidation
        Parameters:
        validationEnvironment - the validation environment
        Returns:
        a list of errors. If this is non empty then the query will not execute.