Files
spring-graphql/samples/webflux-websocket
Rossen Stoyanchev 0d0b84dc8a Support for annotated DataFetcher's
Closes gh-61, gh-90
2021-08-09 12:37:47 +01:00
..
2021-08-09 12:37:47 +01: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.