Fork me on GitHub
#graphql
<
2021-09-28
>
Lennart Buit12:09:18

So am I correct in concluding that there are now two subscriptions-over-ws protocols? 1. The old one by apollo: https://github.com/apollographql/subscriptions-transport-ws 2. Which suggests to use this one: https://github.com/enisdenjo/graphql-ws And that lacinia pedestal implements the old, but not the new?

osi16:09:07

Yes. there’s also an SSE protocol as well, https://the-guild.dev/blog/graphql-over-sse

gklijs16:09:50

Yes.. See also https://github.com/apollographql/subscriptions-transport-ws/issues/676#issuecomment-900675064 I know for Kotlin-graphql they kind of opened up the library so users can easily create custom protocols. It would be nice to have an official one, but that seems far off.