-
Notifications
You must be signed in to change notification settings - Fork 144
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix regressions in how json is returned from the http path
after bringing in some recent changes to use jsonpb, we introduced an accidental regression where the protobuf names stopped being returned as defined in the proto. Truss had changed in place to set the json tags to the correct value, but jsonpb doesnt seem to use those and goes by the protobuf mappings themselves. Additionally we accidentally broken the omitempty behavior, by mistaking the polarity of the EmitDefaults value (oops)
- Loading branch information
1 parent
26c294f
commit 50393ef
Showing
2 changed files
with
17 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters