Interface GraphQlSource
public interface GraphQlSource
Strategy to resolve a 
GraphQL and a GraphQLSchema.
 
 This contract also includes a GraphQlSource builder encapsulating the
 initialization of the GraphQL instance and associated
 GraphQLSchema.
- Since:
- 1.0.0
- Author:
- Rossen Stoyanchev
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic interfaceGraphQlSource.Builder<B extends GraphQlSource.Builder<B>>Common configuration options for allGraphQlSourcebuilders, independent of howGraphQLSchemais created.static interfaceGraphQlSourcebuilder that relies on parsing schema definition files and uses aRuntimeWiringto create the underlyingGraphQLSchema.
- 
Method SummaryModifier and TypeMethodDescriptionstatic GraphQlSource.Builder<?>builder(GraphQLSchema schema) Return aGraphQlSourcebuilder that uses an externally preparedGraphQLSchema.graphQl()Return theGraphQLto use.schema()Return theGraphQLSchemaused by the currentGraphQL.Return aGraphQlSourcebuilder that parses GraphQL Schema resources and usesRuntimeWiringto create theGraphQLSchema.
- 
Method Details- 
graphQlGraphQL graphQl()Return theGraphQLto use. This can be a cached instance or a different one from time to time (e.g. based on a reloaded schema).
- 
schemaGraphQLSchema schema()Return theGraphQLSchemaused by the currentGraphQL.
- 
schemaResourceBuilderReturn aGraphQlSourcebuilder that parses GraphQL Schema resources and usesRuntimeWiringto create theGraphQLSchema.
- 
builderReturn aGraphQlSourcebuilder that uses an externally preparedGraphQLSchema.- Parameters:
- schema- the GraphQL schema
 
 
-