Hello,
I'd like to do something like this:
syntax = "proto3";
package foo;
enum ModuleId {
MODULE_ID_UNKNOWN = 0;
MODULE_ID_BAR = 1;
...
}
message ModuleDetails {
ModuleId id = 1;
string name = 2;
...
}
message Modules {
repeated ModuleDetails modules = 1;
}
And then define a static Modules message. This seems better to me than
shipping a, for example, yaml configuration file.
It looks like this feature has been suggested and rejected a couple of
times. Any suggestions on how I could achieve something like this?
Thanks,
--
Adriano
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/protobuf/87550fdf-ea86-44de-8268-1ac721c0886bn%40googlegroups.com.