Protobuf


Glue supports protobuf as a code generation target, allowing you to generate .proto schemas from Glue models and enums.

Simply run:

shell

#Configuration

You can configure the emitted protobuf package name:

yaml

#Example

For this Glue spec:

glue

...generating protobuf...

shell

...will produce:

proto

#Current limitations

  • Optional fields (?) are not supported in Protobuf generation.
  • Record<..., ...> and anonymous model types are not supported.
  • Endpoint declarations are ignored by the Protobuf generator.