GraphiQL uses currently unsupported graphql-transport-ws
protocol for subscriptions
#1756
Labels
type: bug
Something isn't working
Library Version
7.0.0-alpha.5
Describe the bug
GraphiQL subscriptions do not work because of protocol mismatch.
GraphiQL uses graphql-ws client (graphql-transport-ws protocol) for subscriptions.
Currently
graphql-kotlin
provides default server implementation for older apollo client (subscriptions-transport-ws protocol).To Reproduce
Open default latest version Spring Server GraphiQL UI
Expected behavior
If user is using deprecated apollo protocol, initiate the graphiql client with compatible subscription client.
Partial solution
legacyWsClient
option:The text was updated successfully, but these errors were encountered: