Polishing

Missed one deprecation and doc updates.

See gh-244
This commit is contained in:
rstoyanchev
2022-01-17 21:09:00 +00:00
parent 5ff3f8b18d
commit d8d8229a33
2 changed files with 7 additions and 6 deletions

View File

@@ -534,9 +534,9 @@ of the repository domain type. If needed, you can use the `typeName` attribute o
Auto-registration detects if a given repository implements `QuerydslBinderCustomizer` and
transparently applies that through `QuerydslDataFetcher` builder methods.
Auto-registration is performed through a `GraphQLTypeVisitor` which can be obtained from
`QuerydslDataFetcher`. The <<boot-repositories-querydsl,Boot starter>> automatically
detects `@GraphQlRepository` beans and applies the `GraphQLTypeVisitor`.
Auto-registration is performed through a `RuntimeWiringConfigurer` which can be obtained
from `QuerydslDataFetcher`. The <<boot-repositories-querydsl,Boot starter>> automatically
detects `@GraphQlRepository` beans and uses them to configure the `RuntimeWiringConfigurer`.
@@ -607,9 +607,9 @@ By default, the name of the GraphQL type returned by the query must match the si
of the repository domain type. If needed, you can use the `typeName` attribute of
`@GraphQlRepository` to specify the target GraphQL type name.
Auto-registration is performed through a `GraphQLTypeVisitor` which can be obtained from
Auto-registration is performed through a `RuntimeWiringConfigurer` which can be obtained from
`QueryByExampleDataFetcher`. The <<boot-repositories-querybyexample,Boot starter>> automatically
detects `@GraphQlRepository` beans and applies the `GraphQLTypeVisitor`.
detects `@GraphQlRepository` beans and uses them to configure the `RuntimeWiringConfigurer`.

View File

@@ -197,8 +197,9 @@ public abstract class QueryByExampleDataFetcher<T> {
* @param executors repositories to consider for registration
* @param reactiveExecutors reactive repositories to consider for registration
* @return the created visitor
* @deprecated in favor of {@link #autoRegistrationConfigurer(List, List)}
*/
@SuppressWarnings("deprecation")
@Deprecated
public static GraphQLTypeVisitor autoRegistrationTypeVisitor(
List<QueryByExampleExecutor<?>> executors,
List<ReactiveQueryByExampleExecutor<?>> reactiveExecutors) {