figured it out, you need to specify the protocol `...
# prisma-whats-new
m
figured it out, you need to specify the protocol
new WebSocket(websocketurl, "graphql-ws");
Great product so far!
a
Hi @Max N. I have just implemented part of the protocol myself using
ws
. You can read up on the protocol here: https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md
m
that is awesome! I was just looking at why it wan't accepting any of my messages and now I know why 🙂
😎 1
a
Let me guess, the id field?