Skip to content

Support for Subscriptions? #4

@JeffJankowski

Description

@JeffJankowski

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
  }
);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions