-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Description
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: string
nullable: true
enum:
- one
- twopropertyA = nullWhen propertyA is validated against the definition. Should the result be:
- true, since the it's
nullable - false, because
nullis not part of theenum - something else?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels