protobuf enumerated values now returned as strings instead of numbers. #186
Closed
Description
Previously, at least on commit id b94f713 (2016-2-18), enumerated values were returned in http responses as numbers. Now they are returned as the strings corresponding to those values. While this is better behavior, it is also a breaking change. Is there any way to disable this behavior while still updating to the latest version of the package? When was this change introduced?
I suspect that this may have to do with the move to jsonpb by default but setting the ServeMux option to use the built-in Marshaler for json does not appear to have any effect. Is there a workaround for this issue?
Metadata
Assignees
Labels
No labels