Class GraphQlReactiveQuerydslAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.graphql.data.GraphQlReactiveQuerydslAutoConfiguration
@AutoConfiguration(after=GraphQlAutoConfiguration.class)
@ConditionalOnClass({graphql.GraphQL.class,org.springframework.graphql.data.query.QuerydslDataFetcher.class,org.springframework.data.querydsl.ReactiveQuerydslPredicateExecutor.class})
@ConditionalOnBean(org.springframework.graphql.execution.GraphQlSource.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.- Since:
- 2.7.0
- Author:
- Rossen Stoyanchev, Brian Clozel
- See Also:
-
QuerydslDataFetcher.autoRegistrationConfigurer(List, List)
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionreactiveQuerydslRegistrar
(ObjectProvider<org.springframework.data.querydsl.ReactiveQuerydslPredicateExecutor<?>> reactiveExecutors)
-
Constructor Details
-
GraphQlReactiveQuerydslAutoConfiguration
public GraphQlReactiveQuerydslAutoConfiguration()
-
-
Method Details
-
reactiveQuerydslRegistrar
@Bean public GraphQlSourceBuilderCustomizer reactiveQuerydslRegistrar(ObjectProvider<org.springframework.data.querydsl.ReactiveQuerydslPredicateExecutor<?>> reactiveExecutors)
-