The creator of the graphql-ws even suggested that you use it in DGraph Discuss. This would have to be updated before V1 is released, as it is NOT compatible with the other protocol.
Hasura uses both, so you could easily add the new protocol without causing depreciation problems!
DGraph currently uses a depreciated and insecure websockets protocol:
subscriptions-transport-ws
. They recommend changing to usegraphql-ws
.https://github.com/enisdenjo/graphql-ws/blob/master/PROTOCOL.md
The creator of the
graphql-ws
even suggested that you use it in DGraph Discuss. This would have to be updated before V1 is released, as it is NOT compatible with the other protocol.Hasura uses both, so you could easily add the new protocol without causing depreciation problems!
J