outcaste-io / issues

File issues here across all public Outcaste Repositories
Apache License 2.0
6 stars 0 forks source link

Websockets Protocol (subscriptions-transport-ws) is Depreciated #14

Open jdgamble555 opened 2 years ago

jdgamble555 commented 2 years ago

DGraph currently uses a depreciated and insecure websockets protocol: subscriptions-transport-ws. They recommend changing to use graphql-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