graphql-spring-boot-starter webflux not pulling in all dependencies #393
Description
I'm setting up a poc to refac our rest gateways into graphql ones, one of the use-cases is that I need to extract the context out of a http-header, I've found numerous tutorials on how to do that and they all referenced to get the context and from that I could get the webServerExchange, every time I tried to run the code it failed with a classCastException that GraphQLContext
could not be cast to GraphQLSpringServerWebExchangeContext
. I noticed I couldn't import it since the dependencies of 7.0.1 to graphql-kickstart-java
and graphql-kickstart-spring-webflux
where changed to runtime dependencies, so I had to add the manually into my build.gradle file.
Is this a bug or is this by design, if this is by design can you maybe add it to the documentation?