FunctionsvalidateSchemavalidateSchema CallablevalidateSchema(schema: GraphQLSchema): ReadonlyArray<GraphQLError>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.Parametersschema: GraphQLSchemaReturns ReadonlyArray<GraphQLError>
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.