Skip to content

Commit 00ca12f

Browse files
committed
Switch to Reactor and Context Propagation SNAPSHOTs
1 parent 37625fe commit 00ca12f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

platform/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ javaPlatform {
99
dependencies {
1010
api(platform("org.springframework:spring-framework-bom:${springFrameworkVersion}"))
1111
api(platform("com.fasterxml.jackson:jackson-bom:2.13.4"))
12-
api(platform("io.projectreactor:reactor-bom:2022.0.0-M6"))
12+
api(platform("io.projectreactor:reactor-bom:2022.0.0-SNAPSHOT"))
1313
api(platform("org.springframework.data:spring-data-bom:2022.0.0-M6"))
1414
api(platform("org.springframework.security:spring-security-bom:6.0.0-M7"))
1515
api(platform("com.querydsl:querydsl-bom:5.0.0"))
@@ -23,7 +23,7 @@ dependencies {
2323

2424
constraints {
2525
api("com.graphql-java:graphql-java:${graphQlJavaVersion}")
26-
api("io.micrometer:context-propagation:1.0.0-M5")
26+
api("io.micrometer:context-propagation:1.0.0-SNAPSHOT")
2727

2828
api("jakarta.annotation:jakarta.annotation-api:2.0.0")
2929
api("jakarta.servlet:jakarta.servlet-api:5.0.0")

spring-graphql/src/main/java/org/springframework/graphql/execution/GraphQlContextAccessor.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@
3333
public class GraphQlContextAccessor implements ContextAccessor<GraphQLContext, GraphQLContext> {
3434

3535
@Override
36-
public boolean canReadFrom(Class<?> contextType) {
37-
return GraphQLContext.class.equals(contextType);
36+
public Class<? extends GraphQLContext> readableType() {
37+
return GraphQLContext.class;
3838
}
3939

4040
@Override
@@ -52,8 +52,8 @@ public <T> T readValue(GraphQLContext context, Object key) {
5252
}
5353

5454
@Override
55-
public boolean canWriteTo(Class<?> contextType) {
56-
return GraphQLContext.class.equals(contextType);
55+
public Class<? extends GraphQLContext> writeableType() {
56+
return GraphQLContext.class;
5757
}
5858

5959
@Override

0 commit comments

Comments
 (0)