Improve wording on use of RuntimeWiringConfigurer

Closes gh-249
This commit is contained in:
rstoyanchev
2022-01-07 15:47:10 +00:00
parent 6106ef630a
commit 44efeb6473

View File

@@ -203,7 +203,7 @@ via `FileSystemResource`, to byte content via `ByteArrayResource`, or implement
[[execution-graphqlsource-runtimewiring-configurer]]
==== `RuntimeWiringConfigurer`
You can add a `RuntimeWiringConfigurer` to `GraphQlSource.Builder` to register:
You can use `RuntimeWiringConfigurer` to register:
- Custom scalar types.
- Directives handling code.
@@ -213,6 +213,8 @@ You can add a `RuntimeWiringConfigurer` to `GraphQlSource.Builder` to register:
`AnnotatedControllerConfigurer`, which detects annotated, `DataFetcher` handler methods.
The Spring Boot starter adds the `AnnotatedControllerConfigurer` by default.
The Spring GraphQL Boot starter detects beans of type `RuntimeWiringConfigurer`.
[[execution-graphqlsource-default-type-resolver]]
==== Default `TypeResolver`