Package graphql.schema.idl
Class SchemaTypeChecker
java.lang.Object
graphql.schema.idl.SchemaTypeChecker
This helps pre check the state of the type system to ensure it can be made into an executable schema.
It looks for missing types and ensure certain invariants are true before a schema can be made.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncheckTypeRegistry
(ImmutableTypeDefinitionRegistry typeRegistry, RuntimeWiring wiring)
-
Constructor Details
-
SchemaTypeChecker
public SchemaTypeChecker()
-
-
Method Details
-
checkTypeRegistry
public List<GraphQLError> checkTypeRegistry(ImmutableTypeDefinitionRegistry typeRegistry, RuntimeWiring wiring) throws SchemaProblem - Throws:
SchemaProblem
-