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

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

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

Loading…
Cancel
Save