Skip to content

Commit 97990c2

Browse files
committed
Rewrite links to new Framework reference docs
1 parent 992b3f4 commit 97990c2

File tree

7 files changed

+12
-12
lines changed

7 files changed

+12
-12
lines changed

spring-graphql-docs/src/docs/asciidoc/attributes.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
:graphql-java-docs: https://www.graphql-java.com/documentation
2323
:javadoc: https://docs.spring.io/spring-graphql/docs/{spring-graphql-version}/api
2424
// version attributes from main build.gradle
25-
:spring-framework-ref-docs: https://docs.spring.io/spring-framework/docs/{spring-framework-version}/reference/html
25+
:spring-framework-ref-docs: https://docs.spring.io/spring-framework/reference
2626
:spring-boot-ref-docs: https://docs.spring.io/spring-boot/docs/{spring-boot-version}/reference/html

spring-graphql-docs/src/docs/asciidoc/includes/client.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ Once you have a `GraphQlClient` you can begin to make <<client.requests, request
3131
=== HTTP
3232

3333
`HttpGraphQlClient` uses
34-
{spring-framework-ref-docs}/web-reactive.html#webflux-client[WebClient] to execute
34+
{spring-framework-ref-docs}/web/webflux-webclient.html[WebClient] to execute
3535
GraphQL requests over HTTP.
3636

3737
[source,java,indent=0,subs="verbatim,quotes"]
@@ -70,7 +70,7 @@ existing `HttpGraphQlClient` to create a new instance with customized settings:
7070

7171
`WebSocketGraphQlClient` executes GraphQL requests over a shared WebSocket connection.
7272
It is built using the
73-
{spring-framework-ref-docs}/web-reactive.html#webflux-websocket-client[WebSocketClient]
73+
{spring-framework-ref-docs}/web/webflux-websocket.html#webflux-websocket-client[WebSocketClient]
7474
from Spring WebFlux and you can create it as follows:
7575

7676
[source,java,indent=0,subs="verbatim,quotes"]
@@ -159,7 +159,7 @@ can be at most one interceptor of type `WebSocketGraphQlClientInterceptor`.
159159
=== RSocket
160160

161161
`RSocketGraphQlClient` uses
162-
{spring-framework-ref-docs}/web-reactive.html#rsocket-requester[RSocketRequester]
162+
{spring-framework-ref-docs}/rsocket.html#rsocket-requester[RSocketRequester]
163163
to execute GraphQL requests over RSocket requests.
164164

165165
[source,java,indent=0,subs="verbatim,quotes"]

spring-graphql-docs/src/docs/asciidoc/includes/controllers.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,7 @@ delegates to a `DataLoader`, you can reduce boilerplate by using a
507507
=== Validation
508508

509509
When a `javax.validation.Validator` bean is found, `AnnotatedControllerConfigurer` enables support for
510-
{spring-framework-ref-docs}/core.html#validation-beanvalidation-overview[Bean Validation]
510+
{spring-framework-ref-docs}/core/validation/beanvalidation.html#validation-beanvalidation-overview[Bean Validation]
511511
on annotated controller methods. Typically, the bean is of type `LocalValidatorFactoryBean`.
512512

513513
Bean validation lets you declare constraints on types:

spring-graphql-docs/src/docs/asciidoc/includes/data.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ are helpful if you cannot partially materialize the aggregate object, but you st
377377
want to expose a subset of properties.
378378
- https://docs.spring.io/spring-data/commons/docs/current/reference/html/#projections.interfaces.open[Open interface projections]
379379
leverage Spring's `@Value` annotation and
380-
{spring-framework-ref-docs}/core.html#expressions[SpEL] expressions to apply lightweight
380+
{spring-framework-ref-docs}/core/expressions.html[SpEL] expressions to apply lightweight
381381
data transformations, such as concatenations, computations, or applying static functions
382382
to a property.
383383

spring-graphql-docs/src/docs/asciidoc/includes/graalvm-native.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ This doesn't cover our third item in the list, as those types are provided by th
2929
== Native Server applications support
3030

3131
In typical Spring for GraphQL applications, Java types tied to the GraphQL schema are exposed in `@Controller` method signatures
32-
as parameters or return types. During the {spring-framework-ref-docs}/core.html#core.aot[Ahead Of Time processing phase] of the build,
32+
as parameters or return types. During the {spring-framework-ref-docs}/core/aot.html[Ahead Of Time processing phase] of the build,
3333
Spring or GraphQL will use its `o.s.g.data.method.annotation.support.SchemaMappingBeanFactoryInitializationAotProcessor` to discover
3434
the relevant types and register reachability metadata accordingly.
3535
This is all done automatically for you if you are building a Spring Boot application with GraalVM support.

spring-graphql-docs/src/docs/asciidoc/includes/observability.adoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33

44
https://micrometer.io/docs/observation[Observability support with Micrometer] is directly instrumented in Spring for GraphQL.
55
This enables both metrics and traces for GraphQL requests and "non-trivial" data fetching operations.
6-
Because the GraphQL engine operates on top of a transport layer, you should also {spring-framework-ref-docs}/integration.html#integration.observability[expect observations from the transport], if supported in Spring Framework.
6+
Because the GraphQL engine operates on top of a transport layer, you should also {spring-framework-ref-docs}/integration/observability.html[expect observations from the transport], if supported in Spring Framework.
77

88
Observations are only published if an `ObservationRegistry` is configured in the application.
99
You can learn more about {spring-boot-ref-docs}/actuator.html#actuator.metrics[configuring the observability infrastructure in Spring Boot].
10-
If you would like to customize the metadata produced with the GraphQL observations, you can {spring-framework-ref-docs}/integration.html#integration.observability.config.conventions[configure a custom convention on the instrumentation directly].
10+
If you would like to customize the metadata produced with the GraphQL observations, you can {spring-framework-ref-docs}/integration/observability.html#observability.config.conventions[configure a custom convention on the instrumentation directly].
1111
If your application is using Spring Boot, contributing the custom convention as a bean is the preferred way.
1212

1313
[[observability.server.request]]
@@ -16,7 +16,7 @@ If your application is using Spring Boot, contributing the custom convention as
1616
GraphQL Server Requests observations are created with the name `"graphql.request"` for traditional and Reactive applications and above all supported transports.
1717
This instrumentation assumes that any parent observation must be set as the current one on the GraphQL context with the well-known `"micrometer.observation"` key.
1818
For trace propagation across network boundaries, a separate instrumentation at the transport level must be in charge.
19-
In the case of HTTP, Spring Framework {spring-framework-ref-docs}/integration.html#integration.observability.http-server[has dedicated instrumentation that takes care of trace propagation].
19+
In the case of HTTP, Spring Framework {spring-framework-ref-docs}/integration/observability.html#observability.http-server[has dedicated instrumentation that takes care of trace propagation].
2020

2121
Applications need to configure the `org.springframework.graphql.observation.GraphQlObservationInstrumentation` instrumentation in their application.
2222
It is using the `org.springframework.graphql.observation.DefaultExecutionRequestObservationConvention` by default, backed by the `ExecutionRequestObservationContext`.

spring-graphql-docs/src/docs/asciidoc/includes/testing.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ options relevant to all extensions.
6161
=== HTTP
6262

6363
`HttpGraphQlTester` uses
64-
{spring-framework-ref-docs}/testing.html#webtestclient[WebTestClient] to execute
64+
{spring-framework-ref-docs}/testing/webtestclient.html[WebTestClient] to execute
6565
GraphQL requests over HTTP, with or without a live server, depending on how
6666
`WebTestClient` is configured.
6767

@@ -136,7 +136,7 @@ existing `HttpSocketGraphQlTester` to create a new instance with customized sett
136136

137137
`WebSocketGraphQlTester` executes GraphQL requests over a shared WebSocket connection.
138138
It is built using the
139-
{spring-framework-ref-docs}/web-reactive.html#webflux-websocket-client[WebSocketClient]
139+
{spring-framework-ref-docs}/web/webflux-websocket.html#webflux-websocket-client[WebSocketClient]
140140
from Spring WebFlux and you can create it as follows:
141141

142142
[source,java,indent=0,subs="verbatim,quotes"]

0 commit comments

Comments
 (0)