Package graphql.schema.idl
Class SchemaTypeChecker
- java.lang.Object
-
- graphql.schema.idl.SchemaTypeChecker
-
public class SchemaTypeChecker extends java.lang.Object
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 Constructor Description SchemaTypeChecker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<GraphQLError>
checkTypeRegistry(TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring)
-
-
-
Method Detail
-
checkTypeRegistry
public java.util.List<GraphQLError> checkTypeRegistry(TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring) throws SchemaProblem
- Throws:
SchemaProblem
-
-