Re: [protobuf] Is it possible to generate Sorbet enums from a protobuf?

2021-11-30 Thread 'Chris Nakamura' via Protocol Buffers
Yes! On Tuesday, November 30, 2021 at 12:55:11 PM UTC-5 Derek Perez wrote: > Could you file an issue here: > https://github.com/protocolbuffers/protobuf > > We can look into it. > > On Tue, Nov 30, 2021 at 9:31 AM 'Chris Nakamura' via Protocol Buffers < > prot...@googlegroups.com> wrote: > >>

Re: [protobuf] Is it possible to generate Sorbet enums from a protobuf?

2021-11-30 Thread 'Derek Perez' via Protocol Buffers
Could you file an issue here: https://github.com/protocolbuffers/protobuf We can look into it. On Tue, Nov 30, 2021 at 9:31 AM 'Chris Nakamura' via Protocol Buffers < protobuf@googlegroups.com> wrote: > The protobuf docs >

[protobuf] Is it possible to generate Sorbet enums from a protobuf?

2021-11-30 Thread 'Chris Nakamura' via Protocol Buffers
The protobuf docs mention the following: > Since Ruby does not have native enums, we create a module for each enum with constants to define the values. Given the .proto file: However, it is possible to define