protobuf.Text
protobuf.Text copied to clipboard
remove quotes around printed enums
Having problems reading enums with quotes around them user the official c++ implementation, removing them fixes the problem.
I can make this optional if wanted.
official examples of this can be found here: https://protobuf.dev/reference/protobuf/textformat-spec/#text-format-files https://protobuf.dev/reference/protobuf/textformat-spec/#example
I have problems finding any prof that this is the case in the c++ code The best prof i found is to look in the test file below and search for enum https://github.com/protocolbuffers/protobuf/blob/3667102d91bba05afcb777aa685b1014f521e9bc/src/google/protobuf/text_format_unittest.cc