Skip to content

Conversation

@Padmashree06
Copy link
Contributor

Description:

When multiple minItems or maxItems constraints fail (e.g., via allOf), this PR consolidates the resulting error messages into a single, clear message.
It selects the highest minItems value and the lowest maxItems value, ensuring that only the most restrictive constraints are reported.

Fixes: Issue #136

Testing: All tests pass.

Copy link
Collaborator

@jdesrosiers jdesrosiers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good so far. Please add tests.

@Padmashree06
Copy link
Contributor Author

Thank you for the review. I will add tests.

@Padmashree06
Copy link
Contributor Author

I have added tests

Copy link
Collaborator

@jdesrosiers jdesrosiers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jdesrosiers jdesrosiers merged commit 4b22392 into hyperjump-io:main Jan 29, 2026
1 check passed
@Padmashree06
Copy link
Contributor Author

Thank you for merging!

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.

2 participants