public final class SchemaRepository
extends java.lang.Object
| Constructor and Description |
|---|
SchemaRepository() |
| Modifier and Type | Method and Description |
|---|---|
graphql.schema.GraphQLSchema |
getSchema(java.util.List<java.nio.file.Path> components)
Return a GraphQLSchema instance constructed from the supplied files.
|
@Nonnull
public graphql.schema.GraphQLSchema getSchema(@Nonnull
java.util.List<java.nio.file.Path> components)
throws graphql.schema.idl.errors.SchemaProblem,
SchemaReadException
components - the file components that are used to construct the schema.graphql.schema.idl.errors.SchemaProblem - if the schema can not be correctly parsed or validated.SchemaReadException - if there is an error reading a file component.