[protobuf] Re: Tool for programmatically adding field options in .proto files
Thanks for the suggestions. I started playing with just using regexes to rewrite the .proto files and this seems to work. On Friday, May 4, 2018 at 3:04:03 PM UTC-4, Mark Hoffman wrote: > > Hi, > > I have the tasks of retrofitting a large repo of .proto files to include a > field option with a default value to every field, except for enums. We > can't assume if the field option is not present that it has a default, for > security reasons. Before I go off an write a parser to handle this one time > task, I was justing wondering something might already exist. One other > issue, I need to preserve the comments in the .proto files. > > Thanks. > > > -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Tool for programmatically adding field options in .proto files
Hi, I have the tasks of retrofitting a large repo of .proto files to include a field option with a default value to every field, except for enums. We can't assume if the field option is not present that it has a default, for security reasons. Before I go off an write a parser to handle this one time task, I was justing wondering something might already exist. One other issue, I need to preserve the comments in the .proto files. Thanks. -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.
[protobuf] Is Any safe to use for java in proto3?
Hi, I have a little concern using the 'Any' type in java due to this message in the docs: *Currently the runtime libraries for working with Any types are under development*. Does anyone know what the status is for production use? -- You received this message because you are subscribed to the Google Groups "Protocol Buffers" group. To unsubscribe from this group and stop receiving emails from it, send an email to protobuf+unsubscr...@googlegroups.com. To post to this group, send email to protobuf@googlegroups.com. Visit this group at https://groups.google.com/group/protobuf. For more options, visit https://groups.google.com/d/optout.