Commit b98e8c9
Proposal/Clarify Nullable - Add interactions with default (#2058)
* Addressing #1389, and clearing the way for PRs #2046 and #1977. This adds a formal proposal to clarify the semantics of nullable, providing the necessary background and links to related resources.
* Corrected table formatting.
* Minor tweaks and corrections.
* Correct Change Log heading.
* Cleaned up notes about translation to JSON Schema and *Of inheritance semantics.
* Fix Change Log heading in the proposal template.
* Snappy answers to stupid questions.
* Change single-quote 'null' to double-quote "null"
Thanks, @handrews for the review.
* Clarified the proposed definition of nullable
Somehow in our collaborative editing, we neglected to state that `nullable` adds `"null"` to the set of allowed types. We just said that it "expands" the `type` value, but didn't state the obvious (to us) manner of said expansion. Correcting that oversight in this commit.
* Corrected the alternative, heavy-handed interpretation of nullable.
* Added more explicit detail about the primary use case.
* Added a more complete explanation of the problems created by disallowing nulls by default.
* Added issue #2057 - interactions between nullable and default value.1 parent 1d4e51f commit b98e8c9
1 file changed
+10
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
| 143 | + | |
| 144 | + | |
143 | 145 | | |
144 | 146 | | |
145 | 147 | | |
| |||
196 | 198 | | |
197 | 199 | | |
198 | 200 | | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
| 206 | + | |
199 | 207 | | |
200 | 208 | | |
201 | 209 | | |
| |||
0 commit comments