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.
extend schema
@link(
url: "https://specs.graphql-mesh.dev/pubsub/v0.1"
import: ["@pubsubOperation", "@pubsubPublish"]
)
- json-schema / OpenAPI loaders stamp @pubsubOperation via importMeshDirectives when the directive is used (currently on the core URL).
2Directives
2.1@pubsubOperation
directive @pubsubOperation(subgraph: String, pubsubTopic: String) on FIELD_DEFINITION2.1.1subgraph: String, pubsubTopic: String
2.2@pubsubPublish
directive @pubsubPublish(subgraph: String, pubsubTopic: String) on FIELD_DEFINITION