From 425dc9c461c7bcef8efaa8a79915063817f6be8a Mon Sep 17 00:00:00 2001 From: Rossen Stoyanchev Date: Fri, 26 Nov 2021 14:42:10 +0000 Subject: [PATCH] Polishing See gh-191 --- .../data/querybyexample/QueryByExampleDataFetcher.java | 9 +++++++-- .../graphql/data/querydsl/QuerydslDataFetcher.java | 2 ++ 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/spring-graphql/src/main/java/org/springframework/graphql/data/querybyexample/QueryByExampleDataFetcher.java b/spring-graphql/src/main/java/org/springframework/graphql/data/querybyexample/QueryByExampleDataFetcher.java index 970c8dbd..514615e7 100644 --- a/spring-graphql/src/main/java/org/springframework/graphql/data/querybyexample/QueryByExampleDataFetcher.java +++ b/spring-graphql/src/main/java/org/springframework/graphql/data/querybyexample/QueryByExampleDataFetcher.java @@ -88,13 +88,18 @@ import org.springframework.util.StringUtils; * *

See methods on {@link QueryByExampleDataFetcher.Builder} and * {@link QueryByExampleDataFetcher.ReactiveBuilder} for further options on - * GraphQL Query argument to Query by Example bindings, result projections, and - * sorting. + * result projections and sorting. + * + *

{@code QueryByExampleDataFetcher} {@link #registrationTypeVisitor(List, List) exposes} + * a {@link GraphQLTypeVisitor} that can auto-register repositories annotated with + * {@link GraphQlRepository @GraphQlRepository}. * * @param returned result type * @author Greg Turnquist + * @author Rossen Stoyanchev * @since 1.0.0 * + * @see GraphQlRepository * @see QueryByExampleExecutor * @see ReactiveQueryByExampleExecutor * @see Example diff --git a/spring-graphql/src/main/java/org/springframework/graphql/data/querydsl/QuerydslDataFetcher.java b/spring-graphql/src/main/java/org/springframework/graphql/data/querydsl/QuerydslDataFetcher.java index ef62fda1..1a5d7db5 100644 --- a/spring-graphql/src/main/java/org/springframework/graphql/data/querydsl/QuerydslDataFetcher.java +++ b/spring-graphql/src/main/java/org/springframework/graphql/data/querydsl/QuerydslDataFetcher.java @@ -104,7 +104,9 @@ import org.springframework.util.StringUtils; * * @param returned result type * @author Mark Paluch + * @author Rossen Stoyanchev * @since 1.0.0 + * * @see GraphQlRepository * @see QuerydslPredicateExecutor * @see ReactiveQuerydslPredicateExecutor