Closed gregsdennis closed 1 year ago
I'm not sure there is a really good alternative. We could use JSONValue
for abstract instances, but in the rest of the spec, "value" implies a JSON value, so this doesn't seem quite right.
If "value" implies a JSON value (corresponding to the middle column), then we should change the others (the type name). It really is confusing.
In the interim, we decided to append the type names with "Type". I will create a PR for this.
I'm going to wait for #386 to complete before going forward with this as they change the same chunk of text.
I'm going to wait for #386 to complete before going forward with this as they change the same chunk of text.
Thanks. That's why I am trying to tidy up #386 and get it merged ASAP.
If I'm reading the table right, it looks like the term
Value
is being used to mean different things depending on which column it's in.object
,boolean
,number
, etc, plusNothing
.I think having the same word to define these things can be confusing for the reader, and maybe we need something else in one of these places to indicate the distinction. We've already done this for the
Absent
type to distinguish it from theNothing
value.