Closed jeremyg484 closed 6 months ago
I don't think we should be using
DefaultApplicationContext
class directly which is an internal class.
Agreed, good point. Done in 5ebb76d
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
66.7% Coverage on New Code
0.0% Duplication on New Code
DefaultGraphQLInvocation
andDefaultGraphQLExecutionInputCustomizer
are updated to use Mono and Flux in their internal implementation in order to ensure that the MicronautPropagationContext
is carried appropriately through the invocation flow. Previous use of the bareio.micronaut.core.async.publisher.Publishers
API inDefaultGraphQLExecutionInputCustomizer
was causing the context not to be propagated as desired when including the Micrometer Context Propagation library.A test is added to verify the context propagation works as desired.
Some additional cleanup is done throughout the test suite to reduce the scope of included Micronaut beans to the specific tests in order to make it easier to test different setups.
Resolves #495