GraphQL: Validation Module Cheat Sheet


Validates an AST against a provided Schema.

function validate(
  schema: GraphQLSchema,
  ast: Document,
  rules?: Array<any>
): Array<GraphQLError>


A list of standard validation rules described in the GraphQL specification.

var specifiedRules: Array<(context: ValidationContext): any>

Leave a Reply

Your email address will not be published. Required fields are marked *