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

GraphQL subscriptions support

Open marco-lavagnino opened this issue 6 years ago • 4 comments

What would be needed to support GraphQL subscriptions?

Like in this link

marco-lavagnino avatar Sep 08 '17 19:09 marco-lavagnino

Hi, @marco-lavagnino!

Subscription support first needs to be implemented in core Python GraphQL realization. Unfortunately it's far too behind from origin JavaScript implementation (v0.6.0 and v0.11.3 respectively).

The best one could do is to help to upgrade core lib to the latest versions. See issue #75.

grazor avatar Sep 09 '17 06:09 grazor

What about this: https://github.com/graphql-python/graphql-ws?

mandx avatar Oct 31 '17 01:10 mandx

@mandx after hunting in what feels like everywhere, your comment <3 i was about to lose my mind on this and was dumbfounded it could be this far behind

ProjectCheshire avatar Nov 29 '17 01:11 ProjectCheshire

@ProjectCheshire I feel you; the main problem with graphql-python/Graphene is the lack documentation, I had (and still have) to read a lot of internal code to get some pointers on what to do, what to write to accomplish what I want. On the flip side, I have been able to accomplish pretty much everything!

mandx avatar Nov 29 '17 02:11 mandx