Hey,
I am hoping to get clarification on the following:
When the nullable and enum keywords are used together, which takes precedence?
i.e.
type: stringnullable: trueenum:
- one
- two
When propertyA is validated against the definition. Should the result be:
- true, since the it's
nullable - false, because
null is not part of the enum - something else?
Hey,
I am hoping to get clarification on the following:
When the nullable and enum keywords are used together, which takes precedence?
i.e.
When
propertyAis validated against the definition. Should the result be:nullablenullis not part of theenum