Files
spring-graphql/samples/webflux-websocket
2021-07-06 16:34:21 +01:00
..
2021-07-06 16:34:21 +01:00
2021-06-02 15:45:51 +02:00
2021-07-06 16:34:21 +01:00

GraphQL WebSocket Endpoint with Spring WebFlux

  • Reactive DataFetcher's, 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.