Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
0.9.1
-
None
Description
Would there be any objections to a patch that does not write default values (essentially the same logic as the optional attributes). This obviously relies on the receiving application using the same IDL version to ensure the defaults used on object construction match the senders.
Attachments
Issue Links
- is related to
-
THRIFT-3756 Improve requiredness documentation
- Closed
- relates to
-
THRIFT-2451 Do not use pointers for optional fields with defaults. Do not write such fields if its value set to default. Also, do not use pointers for any optional fields mapped to go map or slice. generate Get accessors
- Closed
- links to
1.
|
C++: Provide option to not write default values | Open | Unassigned | |
2.
|
Python: Provide option to not write default values | Open | Unassigned | |
3.
|
Java: Provide option to not write default values | Open | Unassigned | |
4.
|
C#: Provide option to not write default values | Open | Unassigned | |
5.
|
Go: Provide option to not write default values | Closed | James E. King III | |
6.
|
Node.js: Provide option to not write default values | Open | Unassigned | |
7.
|
JavaScript: Provide option to not write default values | Open | Unassigned | |
8.
|
Markdown for: Provide option to not write default values | Open | Randy Abernethy |