Class GraphQlQuerydslAutoConfiguration

java.lang.Object
org.springframework.boot.autoconfigure.graphql.data.GraphQlQuerydslAutoConfiguration

@AutoConfiguration(after=GraphQlAutoConfiguration.class) @ConditionalOnClass({graphql.GraphQL.class,org.springframework.graphql.data.query.QuerydslDataFetcher.class,org.springframework.data.querydsl.QuerydslPredicateExecutor.class}) @ConditionalOnBean(org.springframework.graphql.execution.GraphQlSource.class) public class GraphQlQuerydslAutoConfiguration 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.
Since:
2.7.0
Author:
Rossen Stoyanchev, Brian Clozel
See Also:
  • QuerydslDataFetcher.autoRegistrationConfigurer(List, List)
  • Constructor Details

    • GraphQlQuerydslAutoConfiguration

      public GraphQlQuerydslAutoConfiguration()
  • Method Details