@Configuration(proxyBeanMethods=false) @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) @AutoConfigureAfter(value=GraphQlAutoConfiguration.class) public class GraphQlReactiveQuerydslAutoConfiguration extends Object
Auto-configuration
that creates a
GraphQlSourceBuilderCustomizer
s to detect Spring Data repositories with
Querydsl support and register them as DataFetcher
s 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<?>> executorsProvider) |
public GraphQlReactiveQuerydslAutoConfiguration()
@Bean public GraphQlSourceBuilderCustomizer reactiveQuerydslRegistrar(ObjectProvider<org.springframework.data.querydsl.ReactiveQuerydslPredicateExecutor<?>> executorsProvider)