Mesh Specs https://specs.graphql-mesh.dev

specs / pubsub / v0.1

pubsub v0.1

PubSub subscription and publish field directives for topic / webhook bindings.

1Overview

PubSub subscription and publish field directives for topic / webhook bindings.

https://specs.graphql-mesh.dev/pubsub/v0.1 ยท raw GraphQL

Stamp: Target family URL. Compose / loaders still list and stamp these under core/v0.1 today; stamp cutover is a follow-up.

Example @link usage
extend schema
  @link(
    url: "https://specs.graphql-mesh.dev/pubsub/v0.1"
    import: ["@pubsubOperation", "@pubsubPublish"]
  )

2Directives

2.1@pubsubOperation

directive @pubsubOperation(subgraph: String, pubsubTopic: String) on FIELD_DEFINITION

2.1.1subgraph: String, pubsubTopic: String

2.2@pubsubPublish

directive @pubsubPublish(subgraph: String, pubsubTopic: String) on FIELD_DEFINITION

2.2.1subgraph: String, pubsubTopic: String