Files
spring-graphql/samples/webflux-websocket
rstoyanchev b40375f1f2 Pin version to 1.0.0-M5 in samples
This is necessary until Boot catches up with spring-graphql snapshots.
2022-03-07 10:39:59 +00: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.