public interface GraphQlSource
GraphQL
instance to use.
This contract also includes a GraphQlSource
builder encapsulating the
initialization of the GraphQL
instance and associated
GraphQLSchema
.
Modifier and Type | Interface and Description |
---|---|
static interface |
GraphQlSource.Builder
Builder for a
GraphQlSource . |
Modifier and Type | Method and Description |
---|---|
static GraphQlSource.Builder |
builder()
Return a builder for a
GraphQlSource given input for the initialization of
GraphQL and GraphQLSchema . |
GraphQL |
graphQl()
Return the
GraphQL to use. |
GraphQLSchema |
schema()
Return the
GraphQLSchema used by the current GraphQL . |
GraphQL graphQl()
GraphQL
to use. This can be a cached instance or a different one
from time to time (e.g. based on a reloaded schema).GraphQLSchema schema()
GraphQLSchema
used by the current GraphQL
.static GraphQlSource.Builder builder()
GraphQlSource
given input for the initialization of
GraphQL
and GraphQLSchema
.