Chris Wicks
12/15/2020, 4:17 PMShane Myrick
12/15/2020, 4:23 PMChris Wicks
12/15/2020, 4:31 PMChris Wicks
12/15/2020, 4:34 PMChris Wicks
12/15/2020, 4:37 PMShane Myrick
12/15/2020, 4:47 PMspring-starter-web-flux
? We can not support both Web MVC and WebFlux in the same server
See: https://expediagroup.github.io/graphql-kotlin/docs/spring-server/spring-overview#webflux-vs-webmvcChris Wicks
12/15/2020, 4:48 PMChris Wicks
12/15/2020, 4:54 PMShane Myrick
12/15/2020, 4:57 PMgraphql-kotlin-spring-server
to work with MVC routes.
We have had this question come up before so if you had a compatible ``graphql-kotlin-spring-mvc-server` package, we would be happy to share it with the communityDariusz Kuc
12/15/2020, 5:14 PMChris Wicks
12/15/2020, 8:09 PMmust return an instance of org.reactivestreams.Publisher (i.e. Mono / Flux) in order to support Reactor Context
If I wrap the response in a Mono
, I get schema validation issues
I'm admittedly new to both WebFlux and your GraphQL implementation. I'm weighing it as an option against com.graphql-java-kickstart:graphql-spring-boot-starter
, which is what my team is currently using.Dariusz Kuc
12/15/2020, 8:12 PMMono
can solved by registering adapter for it (see https://expediagroup.github.io/graphql-kotlin/docs/schema-generator/execution/async-models#rxjavareactor for details)Chris Wicks
12/15/2020, 8:26 PM