diff options
author | Chad Knight <chad.knight@workiva.com> | 2018-05-10 12:58:24 -0500 |
---|---|---|
committer | Chad Knight <chad.knight@workiva.com> | 2018-05-10 12:58:24 -0500 |
commit | 6e1606a9cede7524fb79d555a25fd2742277165c (patch) | |
tree | 2ea4a74ec00599a232222c2cf448281914e8ee83 /doc | |
parent | 8672394ade6a8b893491cb9e0a3334c5c10e0252 (diff) | |
download | thrift-6e1606a9cede7524fb79d555a25fd2742277165c.tar.gz |
THRIFT-4569: Fix 'requiredness' typo
Diffstat (limited to 'doc')
-rw-r--r-- | doc/specs/idl.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/specs/idl.md b/doc/specs/idl.md index b7eb23cd5..dab04c769 100644 --- a/doc/specs/idl.md +++ b/doc/specs/idl.md @@ -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 |