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

Playground incompatible with Spring Webflux #487

Closed
ooga opened this issue Dec 14, 2020 · 3 comments · Fixed by #521
Closed

Playground incompatible with Spring Webflux #487

ooga opened this issue Dec 14, 2020 · 3 comments · Fixed by #521
Labels
Milestone

Comments

@ooga
Copy link

ooga commented Dec 14, 2020

Describe the bug
When we add playground-spring-boot-starter in a spring webflux project, the project is instantiated as spring mvc and served with Tomcat

Because playground-spring-boot-starter require spring-boot-starter-web

To Reproduce
Steps to reproduce the behavior:

  1. include these dependencies
    • graphql-kickstart-spring-boot-starter-webflux
    • playground-spring-boot-starter

Expected behavior
Project is served with Netty and the playground is accessible

@ooga ooga added the bug label Dec 14, 2020
BlasiusSecundus added a commit to BlasiusSecundus/graphql-spring-boot that referenced this issue Dec 19, 2020
BlasiusSecundus added a commit to BlasiusSecundus/graphql-spring-boot that referenced this issue Dec 19, 2020
@BlasiusSecundus
Copy link

The Playgound integration is currently not working with WebFlux.

I have a WIP fix for the issue, see the linked commit. It seems to work properly but additional tests would be needed (only tested with the bundled webflux sample).

BlasiusSecundus added a commit to BlasiusSecundus/graphql-spring-boot that referenced this issue Dec 30, 2020
BlasiusSecundus added a commit to BlasiusSecundus/graphql-spring-boot that referenced this issue Dec 30, 2020
BlasiusSecundus added a commit to BlasiusSecundus/graphql-spring-boot that referenced this issue Jan 25, 2021
BlasiusSecundus added a commit to BlasiusSecundus/graphql-spring-boot that referenced this issue Jan 25, 2021
BlasiusSecundus added a commit to BlasiusSecundus/graphql-spring-boot that referenced this issue Jan 25, 2021
@varunsufi
Copy link

Is it something blocking here ? Can we merge the proposed solution ?

@BlasiusSecundus
Copy link

I planned to do some more testing before finalizing the MR but time passes faster than expected... I opened it up to review so that it is not blocked anymore on my side. Help with testing with different setups / feedback is of course appreciated.

@oliemansm oliemansm added this to the 11.1.0 milestone May 14, 2021
@oliemansm oliemansm linked a pull request May 14, 2021 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants