Package | Description |
---|---|
org.springframework.graphql.data.method.annotation.support |
Resolvers for method parameters of annotated handler methods.
|
org.springframework.graphql.data.query |
DataFetcher implementations built on Spring Data
extensions such as Query by Example and Querydsl. |
org.springframework.graphql.execution |
Support for GraphQL request execution, including abstractions to configure and invoke
GraphQL . |
Modifier and Type | Class and Description |
---|---|
class |
AnnotatedControllerConfigurer
RuntimeWiringConfigurer that detects @SchemaMapping
annotated handler methods in @Controller classes and
registers them as DataFetcher s. |
Modifier and Type | Method and Description |
---|---|
static RuntimeWiringConfigurer |
QueryByExampleDataFetcher.autoRegistrationConfigurer(List<org.springframework.data.repository.query.QueryByExampleExecutor<?>> executors,
List<org.springframework.data.repository.query.ReactiveQueryByExampleExecutor<?>> reactiveExecutors)
Return a
RuntimeWiringConfigurer that installs a
WiringFactory to find queries with a return
type whose name matches to the domain type name of the given repositories
and registers DataFetcher s for them. |
static RuntimeWiringConfigurer |
QuerydslDataFetcher.autoRegistrationConfigurer(List<org.springframework.data.querydsl.QuerydslPredicateExecutor<?>> executors,
List<org.springframework.data.querydsl.ReactiveQuerydslPredicateExecutor<?>> reactiveExecutors)
Return a
RuntimeWiringConfigurer that installs a
WiringFactory to find queries with a return
type whose name matches to the domain type name of the given repositories
and registers DataFetcher s for them. |
Modifier and Type | Method and Description |
---|---|
GraphQlSource.SchemaResourceBuilder |
GraphQlSource.SchemaResourceBuilder.configureRuntimeWiring(RuntimeWiringConfigurer configurer)
Configure the underlying
RuntimeWiring.Builder to register
data fetchers, custom scalar types, type resolvers, and more. |