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.
