Support for custom options
jase88 opened this issue · comments
jase commented
Protocol buffers are allowing to create own options. Example:
import "google/protobuf/descriptor.proto";
extend google.protobuf.MessageOptions {
optional string my_option = 51234;
}
message MyMessage {
option (my_option) = "Hello world!";
}
See
https://developers.google.com/protocol-buffers/docs/proto#customoptions
It is possible on messages, message fields, enums, enum values, services etc.
It would be great if the code generator would store those meta information as static values on the class.
Göktuğ Yıldırım commented
I am using ngx-grpc quite some time. Now I struggle to have this option. Is it still planned to implement?