Sha256: c26dd198f2793bbdcc55103823a2767d6223a7fdb92486c18b86deaf63208354
Contents?: true
Size: 633 Bytes
Versions: 26
Compression:
Stored size: 633 Bytes
Contents
import { GraphQLError } from '../error/GraphQLError'; import type { GraphQLSchema } from './schema'; /** * Implements the "Type Validation" sub-sections of the specification's * "Type System" section. * * Validation runs synchronously, returning an array of encountered errors, or * an empty array if no errors were encountered and the Schema is valid. */ export declare function validateSchema( schema: GraphQLSchema, ): ReadonlyArray<GraphQLError>; /** * Utility function which asserts a schema is valid by throwing an error if * it is invalid. */ export declare function assertValidSchema(schema: GraphQLSchema): void;
Version data entries
26 entries across 26 versions & 1 rubygems