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 < > [email protected]> wrote: > >> The protobuf docs >> <https://developers.google.com/protocol-buffers/docs/reference/ruby-generated#enum> >> 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 enums in ruby with Sorbet >> <https://sorbet.org/docs/tenum>. Is it possible to automatically >> generate sorbet enums from a proto file, instead of passing around symbols >> and ints? >> >> 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 [email protected]. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/protobuf/115f40c9-e91d-4db6-aac2-5294b2376dd1n%40googlegroups.com >> >> <https://groups.google.com/d/msgid/protobuf/115f40c9-e91d-4db6-aac2-5294b2376dd1n%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> > -- 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/dcf2f733-ab8c-44e7-91d1-97432bbab409n%40googlegroups.com.
