Skip to content

Commit 311531b

Browse files
committed
Move client and testing docs to compiled code snippets
Prior to this commit, the "client" and "testing" sections of the reference documentation were using inline code snippets. Because of this, several snippets were out of date or invalid. This commit moves all those code snippets to actual Java classes compiled with the documentation. Fixes gh-1042
1 parent 66cece6 commit 311531b

File tree

24 files changed

+1204
-495
lines changed

24 files changed

+1204
-495
lines changed

spring-graphql-docs/build.gradle

+12-8
Original file line numberDiff line numberDiff line change
@@ -19,14 +19,18 @@ dependencies {
1919
dependencyManagement(enforcedPlatform(dependencies.project(path: ":platform")))
2020
api project(':spring-graphql')
2121
api project(':spring-graphql-test')
22-
api 'org.springframework:spring-webflux'
23-
api 'org.springframework:spring-webmvc'
24-
api 'org.springframework:spring-websocket'
25-
api 'org.springframework:spring-messaging'
26-
api 'org.springframework.data:spring-data-commons'
27-
api 'com.querydsl:querydsl-core'
28-
api "org.springframework.boot:spring-boot-starter-graphql:${springBootVersion}"
29-
api "org.springframework.boot:spring-boot-starter-web:${springBootVersion}"
22+
implementation 'org.springframework:spring-webflux'
23+
implementation 'org.springframework:spring-webmvc'
24+
implementation 'org.springframework:spring-websocket'
25+
implementation 'org.springframework:spring-messaging'
26+
implementation 'org.springframework.data:spring-data-commons'
27+
implementation 'com.querydsl:querydsl-core'
28+
implementation "org.springframework.boot:spring-boot-starter-graphql:${springBootVersion}"
29+
implementation "org.springframework.boot:spring-boot-starter-web:${springBootVersion}"
30+
implementation 'io.rsocket:rsocket-core'
31+
implementation 'io.rsocket:rsocket-transport-netty'
32+
implementation 'io.projectreactor:reactor-test'
33+
implementation 'org.assertj:assertj-core'
3034
}
3135

3236
jar {

0 commit comments

Comments
 (0)