graphile / graphile/postgraphile-apollo-server
Support for Subscriptions?
Open
enhancement
- Dominant language
- JavaScript
- Stars
- 41
- Forks
- 4
- PR merge metrics
- No merged PRs in 30d
Description
Are postgraphile subscriptions supported using this method of hosting an apollo/graphile server?
I tried enabling simple subscriptions, as one would do with an express app, but I'm not seeing the `Subscription` or `ListenPayload` types in the schema:
```
const pluginHook = makePluginHook([PgPubsub]);
const { schema, plugin } = await makeSchemaAndPlugin(
pgPool,
'public',
{
pluginHook,
subscriptions: true,
simpleSubscriptions: true
}
);
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.