Skip to content

Commit 3f33fa3

Browse files
Polish documentation
1 parent ad2b130 commit 3f33fa3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

spring-boot-project/spring-boot-docs/src/docs/asciidoc/web/spring-graphql.adoc

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ If you wish to not expose information about the schema, you can disable introspe
5252

5353
[[web.graphql.runtimewiring]]
5454
=== GraphQL RuntimeWiring
55-
The GraphQL Java `RuntimeWiring.Builder` can be used to register custom scalar types, directives, type resolvers, `DataFetcher`s, and more.
55+
The GraphQL Java `RuntimeWiring.Builder` can be used to register custom scalar types, directives, type resolvers, ``DataFetcher``s, and more.
5656
You can declare `RuntimeWiringConfigurer` beans in your Spring config to get access to the `RuntimeWiring.Builder`.
5757
Spring Boot detects such beans and adds them to the {spring-graphql-docs}#execution-graphqlsource[GraphQlSource builder].
5858

5959
Typically, however, applications will not implement `DataFetcher` directly and will instead create {spring-graphql-docs}#controllers[annotated controllers].
60-
Spring Boot will automatically detect `@Controller` classes with annotated handler methods and register those as `DataFetcher`s.
60+
Spring Boot will automatically detect `@Controller` classes with annotated handler methods and register those as ``DataFetcher``s.
6161
Here's a sample implementation for our greeting query with a `@Controller` class:
6262

6363
include::code:GreetingController[]
@@ -86,7 +86,7 @@ are detected by Spring Boot and considered as candidates for `DataFetcher` for m
8686

8787
[[web.graphql.transports.http-websocket]]
8888
==== HTTP and WebSocket
89-
The GraphQL HTTP endpoint is at HTTP POST "/graphql" by default.
89+
The GraphQL HTTP endpoint is at HTTP POST `/graphql` by default.
9090
The path can be customized with configprop:spring.graphql.path[].
9191

9292
TIP: The HTTP endpoint for both Spring MVC and Spring WebFlux is provided by a `RouterFunction` bean with an `@Order` of `0`.
@@ -136,7 +136,7 @@ include::code:RSocketGraphQlClientExample[tag=request]
136136

137137

138138
[[web.graphql.exception-handling]]
139-
=== Exceptions Handling
139+
=== Exception Handling
140140
Spring GraphQL enables applications to register one or more Spring `DataFetcherExceptionResolver` components that are invoked sequentially.
141141
The Exception must be resolved to a list of `graphql.GraphQLError` objects, see {spring-graphql-docs}#execution-exceptions[Spring GraphQL exception handling documentation].
142142
Spring Boot will automatically detect `DataFetcherExceptionResolver` beans and register them with the `GraphQlSource.Builder`.

0 commit comments

Comments
 (0)