Files
spring-graphql/samples/webflux-websocket
Brian Clozel a15fd29fc0 Remove Spring Boot Experimental Starter
The Experimental Spring Boot Starter for Spring GraphQL has been moved
to Spring Boot and will be released with Spring Boot 2.7.0.

Closes gh-207
2021-12-21 14:09:17 +01:00
..
2021-08-31 07:44:10 +01:00

GraphQL WebSocket Endpoint with Spring WebFlux

  • Data Controller with reactive methods for queries and subscriptions.
  • WebFilter to insert Reactor Context and check it can be accessed in DataRepository.
  • Subscription tests using Reactor's StepVerifier to verify the stream.

GraphiQL does not support subscriptions. There is a basic index.html page that logs subscriptions the console.