pull/33569/head
Brian Clozel 2 years ago
parent 593b5311e9
commit 3310b59520

@ -70,7 +70,7 @@ public class GraphQlObservationAutoConfiguration {
@ConditionalOnBean(Propagator.class)
@ConditionalOnMissingBean
@Order(Ordered.HIGHEST_PRECEDENCE + 1)
public PropagationWebGraphQlInterceptor propagationWebGraphQlInterceptor(Propagator propagator) {
PropagationWebGraphQlInterceptor propagationWebGraphQlInterceptor(Propagator propagator) {
return new PropagationWebGraphQlInterceptor(propagator);
}

@ -134,6 +134,7 @@ class GraphQlObservationAutoConfigurationTests {
WebGraphQlHandler webGraphQlHandler() {
return mock(WebGraphQlHandler.class);
}
}
@Configuration(proxyBeanMethods = false)
@ -143,6 +144,7 @@ class GraphQlObservationAutoConfigurationTests {
Propagator propagator() {
return mock(Propagator.class);
}
}
}

Loading…
Cancel
Save