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.
extend schema
@link(
url: "https://specs.graphql-mesh.dev/protobuf/v0.1"
import: ["@protobuf__rpc"]
)
- Pair with @transport from core/v0.1.
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