Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
Patch Available
Description
This pull request improves on THRIFT-2549 in that it additionally tags optional fields with the omitempty tag so that dumping a struct to json doesn't result in a bunch of null fields. I think this is the right thing to do with optional fields, and additionally it matches the protoc behavior in go.