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

specs / protobuf / v0.1

protobuf v0.1

Protobuf / gRPC RPC mapping directive.

1Overview

Protobuf / gRPC RPC mapping directive.

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

Stamp: meshSpecUrl('protobuf') in packages/loaders/protobuf.

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

2Directives

2.1@protobuf__rpc

directive @protobuf__rpc(
  subgraph: String
  service: String
  method: String
  args: String
  selection: String
  stream: Boolean
  entity: Boolean
) repeatable on FIELD_DEFINITION | OBJECT

2.1.1subgraph: String

2.1.2service: String

2.1.3method: String

2.1.4args: String

2.1.5selection: String

2.1.6stream: Boolean

2.1.7entity: Boolean