grpc0.2.0

Integrate the Grafbase Gateway with your gRPC services declaratively.
""" A method in a GRPC service. """ directive @grpcMethod( """ The service the method belongs to. Services are defined with @protoServices and configured in gateway configuration. """ service: String! """ The name of the GRPC method. """ method: String! ) on FIELD_DEFINITION """ Defines protocol buffer services. """ directive @protoServices(definitions: [ProtoServiceDefinition!]!) on SCHEMA input ProtoServiceDefinition { """ The name of the service. """ name: String! """ The service's methods. """ methods: [ProtoMethodDefinition!]! } input ProtoMethodDefinition { """ The name of the method. """ name: String! """ The method's input type. """ inputType: String! """ The method's output type. """ outputType: String! """ Whether the method is server streaming. Server streaming methods can only be used in subscriptions. """ serverStreaming: Boolean } """ Defines protocol buffer messages. """ directive @protoMessages(definitions: [ProtoMessageDefinition!]!) on SCHEMA """ A protocol buffers message. See @protoMessages. """ input ProtoMessageDefinition { """ The name of the message. """ name: String! """ The message's fields. """ fields: [ProtoFieldDefinition!]! } """ A field in a protocol buffers message. See @protoMessages. """ input ProtoFieldDefinition { """ The field's name. """ name: String! """ The field's number. """ number: Int! """ Whether the field is repeated. """ repeated: Boolean """ The protocol buffer type of the field. """ type: String! } directive @protoEnums(definitions: [ProtoEnumDefinition!]!) on SCHEMA input ProtoEnumDefinition { """ The name of the enum. """ name: String! """ The enum's values. """ values: [ProtoEnumValueDefinition!]! } directive @protoEnumValues(definitions: [ProtoEnumValueDefinition!]!) on SCHEMA input ProtoEnumValueDefinition { """ The name of the enum value. """ name: String! """ The enum value's number. """ number: Int! }
24 Jun, 2025
Tom HouléJulius de Bruijn
InstallAdd this to your TOML configuration file:
[extensions] grpc = "0.2.0"