@AutoConfiguration(after=GraphQlAutoConfiguration.class) @ConditionalOnClass(value={graphql.GraphQL.class,org.springframework.graphql.data.query.QuerydslDataFetcher.class,org.springframework.data.querydsl.ReactiveQuerydslPredicateExecutor.class}) @ConditionalOnBean(value=org.springframework.graphql.execution.GraphQlSource.class) public class GraphQlReactiveQuerydslAutoConfiguration extends Object
Auto-configuration that creates a
GraphQlSourceBuilderCustomizers to detect Spring Data repositories with
Querydsl support and register them as DataFetchers for any queries with a
matching return type.QuerydslDataFetcher.autoRegistrationConfigurer(List, List)| Constructor and Description |
|---|
GraphQlReactiveQuerydslAutoConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
GraphQlSourceBuilderCustomizer |
reactiveQuerydslRegistrar(ObjectProvider<org.springframework.data.querydsl.ReactiveQuerydslPredicateExecutor<?>> reactiveExecutors) |
public GraphQlReactiveQuerydslAutoConfiguration()
@Bean public GraphQlSourceBuilderCustomizer reactiveQuerydslRegistrar(ObjectProvider<org.springframework.data.querydsl.ReactiveQuerydslPredicateExecutor<?>> reactiveExecutors)