Skip to content
This repository was archived by the owner on Dec 19, 2023. It is now read-only.
This repository was archived by the owner on Dec 19, 2023. It is now read-only.

graphql-spring-boot-starter webflux not pulling in all dependencies #393

Closed
@MOES-Media

Description

@MOES-Media

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions