-
Screenshot Expected Behaviour |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments 2 replies
-
The WebSocket subprotocol should be |
Beta Was this translation helpful? Give feedback.
-
I must be missing something, There are a disclaimer in your readme saying that the lib is not compatible with graphql-transport-ws . |
Beta Was this translation helpful? Give feedback.
-
Thanks for the answear |
Beta Was this translation helpful? Give feedback.
-
I am trying to connect this to AWS Appsync and if I go to this line const socket = new WebSocketImpl(typeof url === 'function' ? await url() : url, common_1.GRAPHQL_TRANSPORT_WS_PROTOCOL); and change it for this, it starts working for me const socket = new WebSocketImpl(typeof url === 'function' ? await url() : url, "graphql-ws"); |
Beta Was this translation helpful? Give feedback.
The WebSocket subprotocol should be
graphql-transport-ws
.