Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
Each struct/enum/union has two auto-generated methods:
- read_from_in_protocol
- write_to_out_protocol
It would be ideal to extract those two methods into a single trait TSerializable that would allow code to be generic over any auto-generated Thrift object.
Attachments
Issue Links
- is duplicated by
-
THRIFT-5339 Add `TObject` trait to cover sync read & write methods of Struct/Union/Enum
- Resolved
- links to