Skip to content

Commit 0b44452

Browse files
committed
Merge branch '3.2.x' into 3.3.x
Closes gh-42208
2 parents 13fd0f9 + 915cb12 commit 0b44452

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/testing/spring-boot-applications.adoc

+2-2
Original file line numberDiff line numberDiff line change
@@ -438,14 +438,14 @@ dependencies {
438438
}
439439
----
440440

441-
This testing module ships the {url-spring-graphql-docs}/#testing-graphqltester[GraphQlTester].
441+
This testing module ships the {url-spring-graphql-docs}/testing.html#testing.graphqltester[GraphQlTester].
442442
The tester is heavily used in test, so be sure to become familiar with using it.
443443
There are `GraphQlTester` variants and Spring Boot will auto-configure them depending on the type of tests:
444444

445445
* the `ExecutionGraphQlServiceTester` performs tests on the server side, without a client nor a transport
446446
* the `HttpGraphQlTester` performs tests with a client that connects to a server, with or without a live server
447447

448-
Spring Boot helps you to test your {url-spring-graphql-docs}/#controllers[Spring GraphQL Controllers] with the `@GraphQlTest` annotation.
448+
Spring Boot helps you to test your {url-spring-graphql-docs}/controllers.html[Spring GraphQL Controllers] with the `@GraphQlTest` annotation.
449449
`@GraphQlTest` auto-configures the Spring GraphQL infrastructure, without any transport nor server being involved.
450450
This limits scanned beans to `@Controller`, `RuntimeWiringConfigurer`, `JsonComponent`, `Converter`, `GenericConverter`, `DataFetcherExceptionResolver`, `Instrumentation` and `GraphQlSourceBuilderCustomizer`.
451451
Regular `@Component` and `@ConfigurationProperties` beans are not scanned when the `@GraphQlTest` annotation is used.

spring-boot-project/spring-boot-docs/src/docs/antora/modules/reference/pages/web/spring-graphql.adoc

+5-5
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ If you wish to not expose information about the schema, you can disable introspe
5757

5858
The GraphQL Java `RuntimeWiring.Builder` can be used to register custom scalar types, directives, type resolvers, `DataFetcher`, and more.
5959
You can declare `RuntimeWiringConfigurer` beans in your Spring config to get access to the `RuntimeWiring.Builder`.
60-
Spring Boot detects such beans and adds them to the {url-spring-graphql-docs}/#execution-graphqlsource[GraphQlSource builder].
60+
Spring Boot detects such beans and adds them to the {url-spring-graphql-docs}/request-execution.html#execution.graphqlsource[GraphQlSource builder].
6161

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

@@ -71,7 +71,7 @@ include-code::GreetingController[]
7171
== Querydsl and QueryByExample Repositories Support
7272

7373
Spring Data offers support for both Querydsl and QueryByExample repositories.
74-
Spring GraphQL can {url-spring-graphql-docs}/#data[configure Querydsl and QueryByExample repositories as `DataFetcher`].
74+
Spring GraphQL can {url-spring-graphql-docs}/data.html[configure Querydsl and QueryByExample repositories as `DataFetcher`].
7575

7676
Spring Data repositories annotated with `@GraphQlRepository` and extending one of:
7777

@@ -105,7 +105,7 @@ The GraphQL WebSocket endpoint is off by default. To enable it:
105105
* For a WebFlux application, no additional dependency is required
106106
* For both, the configprop:spring.graphql.websocket.path[] application property must be set
107107

108-
Spring GraphQL provides a {url-spring-graphql-docs}/#web-interception[Web Interception] model.
108+
Spring GraphQL provides a {url-spring-graphql-docs}/transports.html#server.interception[Web Interception] model.
109109
This is quite useful for retrieving information from an HTTP request header and set it in the GraphQL context or fetching information from the same context and writing it to a response header.
110110
With Spring Boot, you can declare a `WebInterceptor` bean to have it registered with the web transport.
111111

@@ -147,7 +147,7 @@ include-code::RSocketGraphQlClientExample[tag=request]
147147
== Exception Handling
148148

149149
Spring GraphQL enables applications to register one or more Spring `DataFetcherExceptionResolver` components that are invoked sequentially.
150-
The Exception must be resolved to a list of `graphql.GraphQLError` objects, see {url-spring-graphql-docs}/#execution-exceptions[Spring GraphQL exception handling documentation].
150+
The Exception must be resolved to a list of `graphql.GraphQLError` objects, see {url-spring-graphql-docs}/controllers.html#controllers.exception-handler[Spring GraphQL exception handling documentation].
151151
Spring Boot will automatically detect `DataFetcherExceptionResolver` beans and register them with the `GraphQlSource.Builder`.
152152

153153

0 commit comments

Comments
 (0)