FunctionsassertValidSchemaassertValidSchema CallableassertValidSchema(schema: GraphQLSchema): voidUtility function which asserts a schema is valid by throwing an error if it is invalid.Parametersschema: GraphQLSchemaReturns void
Utility function which asserts a schema is valid by throwing an error if it is invalid.