Skip to content

fix(fromJSONSchema): make prefixItems tuple elements optional when minItems is omitted - #6261

Open
deepshekhardas wants to merge 1 commit into
colinhacks:mainfrom
deepshekhardas:fix/fromJSONSchema-prefixItems-optional
Open

fix(fromJSONSchema): make prefixItems tuple elements optional when minItems is omitted#6261
deepshekhardas wants to merge 1 commit into
colinhacks:mainfrom
deepshekhardas:fix/fromJSONSchema-prefixItems-optional

Conversation

@deepshekhardas

Copy link
Copy Markdown

Fixes #6200. Tuple elements beyond minItems are now optional-out, allowing shorter arrays to validate. When minItems is not set (defaults to 0), all positional elements are optional.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

fromJSONSchema requires prefixItems tuple elements when minItems is omitted

1 participant