Subscriptions?
Just wondering how this lib would work with graphql subscriptions?
I haven't tried it myself yet, but it seems from https://github.com/Canner/gqlify/issues/13 that it may not given that issue seems to mention whitelisting server middlewares.
If you could shine some light on this that would be great
@jthegedus At this stage, we haven't discussed much how GraphQL subscription API should be.
There are many things we need to think through before implementing subscription, such as:
- What methods should we add on
DataSourceinterface to expose subscription api? - How do we design subscription api? If we design subscription api to be able to listen to
CREATE,UPDATE,DELETEevent, what filter do we provide in the arguments?
Right now, we're actually more focused on making overall architecture stable, enrich graphQL API and authentication.
Nevertheless, starting discussion earlier is always a good thing. Let us know what you think how subscription API should be.