Upgrading dependency to Thrift 0.12.0
This commit is contained in:
parent
3e4590dcc0
commit
356978cb42
1302 changed files with 101701 additions and 26784 deletions
2
vendor/git.apache.org/thrift.git/doc/specs/idl.md
generated
vendored
2
vendor/git.apache.org/thrift.git/doc/specs/idl.md
generated
vendored
|
@ -156,7 +156,7 @@ Most language implementations use the recommended pratice of so-called "isset" f
|
|||
- Read: Like optional, the field may, or may not be part of the input stream.
|
||||
- Default values: may not be written (see next section)
|
||||
|
||||
Default requiredess is a good starting point. The desired behaviour is a mix of optional and required, hence the internal name "opt-in, req-out". Although in theory these fields are supposed to be written ("req-out"), in reality unset fields are not always written. This is especially the case, when the field contains a <null> value, which by definition cannot be transported through thrift. The only way to achieve this is by not writing that field at all, and that's what most languages do.
|
||||
Default requiredness is a good starting point. The desired behaviour is a mix of optional and required, hence the internal name "opt-in, req-out". Although in theory these fields are supposed to be written ("req-out"), in reality unset fields are not always written. This is especially the case, when the field contains a <null> value, which by definition cannot be transported through thrift. The only way to achieve this is by not writing that field at all, and that's what most languages do.
|
||||
|
||||
#### Semantics of Default Values
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue