graphile / graphile/postgraphile-apollo-server

Support for Subscriptions?

Open
#4 3 comments 0 reactions 0 assignees View on GitHub
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.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.