FunctionsvalidateSyncvalidateSync CallablevalidateSync(schema: GraphQLSchema, documentAST: DocumentNode, rules?: readonly ValidationRule[], options?: ValidateOptions): ReadonlyArray<GraphQLError>Also implements the "Validation" section of the spec. However, it guarantees to complete synchronously.Parametersschema: GraphQLSchemadocumentAST: DocumentNoderules: readonly ValidationRule[] = specifiedRulesoptionaloptions: ValidateOptionsReturns ReadonlyArray<GraphQLError>
Also implements the "Validation" section of the spec. However, it guarantees to complete synchronously.