Skip to content

Length markers should not be named differently based on the underlying type #1293

@alvaroaleman

Description

@alvaroaleman

Right now, we have three length markers:

  • Min/MaxItems: For arrays
  • Min/MaxLength: For strings
  • Min/MaxProperties: For maps

This is extremely confusing and hard to remember. It would be better if we agreed to one of them and made it valid regardless of underlying datatype for as long as the concept of a lenght makes sense for that datatype.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions