Skip to content

Conversation

@ShivaGupta-14
Copy link

Description

When multiple maxProperties or minProperties constraints fail (e.g., via allOf), produce a single message with the most restrictive constraint instead of multiple redundant messages.

Checklist

  • npm test
  • npm run lint
  • npm run type-check

Additional Notes

Screenshot

Screenshot 2026-01-27 at 2 19 27 AM

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.

Great job! Just one tweak I'd like to see (see inline comment).

@ShivaGupta-14 ShivaGupta-14 force-pushed the 137-collapse-max-min-properties-message branch from 19f5eb0 to cc22b64 Compare January 27, 2026 06:59
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.

Combine messages for minProperties/maxProperties

2 participants