validateGraphQlDocuments
The validateGraphQlDocuments function exported by @graphql-tools/utils.
validateGraphQlDocuments(
schema,documents,rules?): readonlyGraphQLError[]
Defined in: packages/utils/src/validate-documents.ts:15
Parameters
schema
GraphQLSchema
documents
DocumentNode[]
rules?
ValidationRule[] = ...
Returns
readonly GraphQLError[]