GraphZen
  • Home
  • Blog
  • Documentation
  • API
  • Get Started
Show / Hide Table of Contents

Class QueryValidator

Inheritance
Object
QueryValidator
Implements
IQueryValidator
Namespace: GraphZen.QueryEngine.Validation
Assembly: GraphZen.QueryEngine.dll
Syntax
public class QueryValidator : IQueryValidator

Constructors

QueryValidator(IReadOnlyCollection<ValidationRule>)

Declaration
public QueryValidator(IReadOnlyCollection<ValidationRule> rules = null)
Parameters
Type Name Description
IReadOnlyCollection<ValidationRule> rules

Methods

Validate(Schema, DocumentSyntax)

Declaration
public IReadOnlyCollection<GraphQLError> Validate(Schema schema, DocumentSyntax query)
Parameters
Type Name Description
Schema schema
DocumentSyntax query
Returns
Type Description
IReadOnlyCollection<GraphQLError>

Implements

IQueryValidator
Back to top Copyright © 2017-2019 GraphZen LLC