> 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. Is it possible to automatically generate sorbet enums from a proto file, instead of passing around symbols and ints?--
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 protobuf+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/protobuf/115f40c9-e91d-4db6-aac2-5294b2376dd1n%40googlegroups.com.