I'm exploring some protobuf interface definitions, but am not super familiar with swift and protobuf - so I wanted to ask how others were managing their
proto files and the related generated swift sources.
The proto files in question are from an external project (https://github.com/open-telemetry/opentelemetry-proto) and right now I've created another repo (https://github.com/heckj/OpenTelemetryModels) with the generated sources and scripts to capture them, with the idea that I'll have my own swift package that I can reference and use as a needed that just wraps these definitions. That feels like overkill, but matches a pattern I've used in previous projects (Python focused) when dealing with protobuf definitions.
Any good ways of dealing with this? Or patterns and examples to be recommended?