Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refinement to limit the number of keys on a record #1290

Open
nikwen opened this issue Dec 10, 2024 · 0 comments
Open

Refinement to limit the number of keys on a record #1290

nikwen opened this issue Dec 10, 2024 · 0 comments

Comments

@nikwen
Copy link

nikwen commented Dec 10, 2024

When validating user-supplied records, it would be great to be able to limit them in size (e.g. allow 0-100 keys).

It could look like this:

size(record(string(), number()), 0, 100)
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

No branches or pull requests

1 participant