Since you have to share .proto files to define data and services for gRPC, service provider and clients need to access the same .proto files. Is there any common strategy to distribute these files? I want to avoid that every project has its own .proto file in its Git repository and our team members need to manual edit these files or share them via email.
Is there any common best practice?
GoLang
orNode.JS
simply pull the latest version on build or people try to pull the latest release of the proto definitions for their projects. Whenever a new proto change is made to master, the CI generates a release with generated code. – ishaan.proto
files using git submodules. – Richard Belleville