diff --git a/samples/webflux-websocket/README.md b/samples/webflux-websocket/README.md index c07548dc..fc766896 100644 --- a/samples/webflux-websocket/README.md +++ b/samples/webflux-websocket/README.md @@ -2,4 +2,6 @@ - Reactive [DataFetcher's](src/main/java/io/spring/sample/graphql/SampleWiring.java), for queries and subscriptions. - [WebFilter](src/main/java/io/spring/sample/graphql/ContextWebFilter.java) to insert Reactor `Context` and check it can be accessed in [DataRepository](src/main/java/io/spring/sample/graphql/DataRepository.java). - - Subscription [tests](src/test/java/io/spring/sample/graphql/SubscriptionTests.java) using Reactor's `StepVerifier` to verify the stream. \ No newline at end of file + - Subscription [tests](src/test/java/io/spring/sample/graphql/SubscriptionTests.java) 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. \ No newline at end of file diff --git a/samples/webflux-websocket/src/main/resources/static/index.html b/samples/webflux-websocket/src/main/resources/static/index.html index 03db5492..db9148ad 100644 --- a/samples/webflux-websocket/src/main/resources/static/index.html +++ b/samples/webflux-websocket/src/main/resources/static/index.html @@ -6,6 +6,7 @@ +

Check the console for subscription messages.