Uses of Package
org.springframework.graphql.execution
Package
Description
Integration for Apollo federation that provides a
FederationSchemaFactory
to
set up the schema with, and supports the fetching of federated types
via @EntityMapping
controller methods.Resolvers for method parameters of annotated handler methods.
DataFetcher
implementations built on Spring Data
extensions such as Query by Example and Querydsl.Support for GraphQL request execution, including abstractions to configure and invoke
GraphQL
.HTTP and WebSocket handlers for use in a Spring WebFlux application.
HTTP and WebSocket handlers for use in a Spring WebMvc application.
-
ClassDescriptionCommon categories to use to classify for exceptions raised by
DataFetcher
's that can enable a client to make automated decisions. -
ClassDescriptionContract to resolve exceptions from
DataFetcher
s.Callbacks that allow applying changes to theRuntimeWiring.Builder
inGraphQlSource.Builder
. -
ClassDescriptionCallbacks that allow applying changes to the
RuntimeWiring.Builder
inGraphQlSource.Builder
. -
ClassDescriptionRegistry for functions to batch load data values, given a set of keys.Spec to complete the registration of a batch loading function.Contract to resolve exceptions from
DataFetcher
s.Adapter forDataFetcherExceptionResolver
that pre-implements the asynchronous contract and exposes the following synchronous protected methods:DataFetcherExceptionResolverAdapter.resolveToSingleError(java.lang.Throwable, graphql.schema.DataFetchingEnvironment)
DataFetcherExceptionResolverAdapter.resolveToMultipleErrors(java.lang.Throwable, graphql.schema.DataFetchingEnvironment)
Contract for access to theDataLoaderRegistry
for each request for the purpose of registeringDataLoader
instances.Common categories to use to classify for exceptions raised byDataFetcher
's that can enable a client to make automated decisions.Strategy to resolve aGraphQL
and aGraphQLSchema
.Common configuration options for allGraphQlSource
builders, independent of howGraphQLSchema
is created.GraphQlSource
builder that relies on parsing schema definition files and uses aRuntimeWiring
to create the underlyingGraphQLSchema
.Callbacks that allow applying changes to theRuntimeWiring.Builder
inGraphQlSource.Builder
.Strategy to resolve the Java class(es) for aGraphQLObjectType
, effectively the reverse ofTypeResolver
, for schema inspection purposes.Helps to configureSchemaMappingInspector
.Report produced as a result of inspecting schema mappings.Information about a schema type skipped during the inspection.Contract for a component that is invoked when a GraphQL subscriptionPublisher
ends with an error.Adapter forSubscriptionExceptionResolver
that pre-implements the asynchronous contract and exposes the following synchronous protected methods:SubscriptionExceptionResolverAdapter.resolveToSingleError(java.lang.Throwable)
SubscriptionExceptionResolverAdapter.resolveToMultipleErrors(java.lang.Throwable)
Callback that allows customizing theTypeDefinitionRegistry
created from parsed schema files.HelpsGraphQLTypeVisitor
s to recognize whether a type is the subscription type. -
-