Switch to Reactor and Context Propagation SNAPSHOTs

This commit is contained in:
Brian Clozel
2022-10-06 15:56:39 +02:00
parent 37625fe081
commit 00ca12f414
2 changed files with 6 additions and 6 deletions

View File

@@ -33,8 +33,8 @@ import io.micrometer.context.ContextAccessor;
public class GraphQlContextAccessor implements ContextAccessor<GraphQLContext, GraphQLContext> {
@Override
public boolean canReadFrom(Class<?> contextType) {
return GraphQLContext.class.equals(contextType);
public Class<? extends GraphQLContext> readableType() {
return GraphQLContext.class;
}
@Override
@@ -52,8 +52,8 @@ public class GraphQlContextAccessor implements ContextAccessor<GraphQLContext, G
}
@Override
public boolean canWriteTo(Class<?> contextType) {
return GraphQLContext.class.equals(contextType);
public Class<? extends GraphQLContext> writeableType() {
return GraphQLContext.class;
}
@Override