Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.9.2
-
None
Description
The go thrift compiler generates ReadFieldN and writeFieldN methods for every field of a struct. E.g.:
func (p *Statistics) ReadField1(iprot thrift.TProtocol) error { ... } func (p *Statistics) writeField1(oprot thrift.TProtocol) (err error) { ... }
ReadField1, ReadField2, etc are not very descriptive names and shouldn't be part of public API of a generated package (like writeFieldN).
Attachments
Issue Links
- breaks
-
THRIFT-3413 Thrift code generation bug in Go when extending service
- Closed