Not all optional properties can be set as a null type. This should be consistent for all because I believe the semantics of null equal that of omission.
This is with respect to one of our stated design principles:
Properties that allow a null value can be omitted.
We should rewrite it as:
Optional properties can either be null or omitted.
Not all optional properties can be set as a
null
type. This should be consistent for all because I believe the semantics of null equal that of omission.This is with respect to one of our stated design principles:
Properties that allow a null value can be omitted.
We should rewrite it as:
Optional properties can either be null or omitted.
Offending properties: