nim-graphql icon indicating copy to clipboard operation
nim-graphql copied to clipboard

subscription over websocket

Open jangko opened this issue 3 years ago • 2 comments

before we implement subscription over websocket there are some issue need to be addressed first:

  • [ ] the same subscription may need to be served to many clients connected to the server, how the state or the subscription context should be managed or shared or split among connections?
  • [ ] should it share the same schema instance with query/mutation or using it's own copy or slices of the schema?
  • [ ] is there any standardization or specification of protocol over websocket?
  • [ ] can we use https://github.com/apollographql/subscriptions-transport-ws/blob/master/PROTOCOL.md

jangko avatar Apr 29 '21 04:04 jangko