Skip to Content
Home

proto-graphql Documentation

Generate GraphQL schema definitions from Protocol Buffer definitions.

Documentation Index

protoc-gen-pothos

Type Mapping Rules

  • Overview - How Protobuf types map to GraphQL
  • Messages - ObjectType, InputType, Interface, Union
  • Fields - Field behaviors and nullability
  • Scalars - Scalar type mappings
  • Enums - Enum conversion rules
  • Oneofs - Oneof and union types

Reference

External Resources