If it fits within your constraints/ development workflow, (2) is recommended.
If (2) does not work in the workflow, you can use (1).. It is higher cost to maintain, but it works. Thanks, - Jayant On Mon, Oct 29, 2018 at 3:43 PM dineshs via grpc.io < [email protected]> wrote: > > Hi, > > Currently, we maintain a single repository for storing proto files for > multiple microservices. And we would use these protobufs for implementing > services in specific languages. I recently read this blog which mentions > about packaging generated code into libraries and distributing it. I would > like to know which is the best recommended option? > 1. Package generated code into libraries and distribute it > 2. Maintain protos in single repo and distribute it & services/clients can > get the proto files and build the generated code and use it > > Thanks, > Dinesh P S > > -- > You received this message because you are subscribed to the Google Groups " > grpc.io" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/grpc-io. > To view this discussion on the web visit > https://groups.google.com/d/msgid/grpc-io/bf432ebe-250f-4045-b626-68a75957e0ab%40googlegroups.com > <https://groups.google.com/d/msgid/grpc-io/bf432ebe-250f-4045-b626-68a75957e0ab%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/CALLfn8AhJ4HofpuYLM%3DoPZXjQEFyG3L%3DBM7WAnFSOOZZLHMU%2BA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
