Skip to content

Conversation

@mstruebing
Copy link

@mstruebing mstruebing commented Jan 28, 2026

On my journey to get validation to work this would have been quite helpful.
I guess this is true for others as well, so I've created a PR.

cc @ctate

@vercel
Copy link
Contributor

vercel bot commented Jan 28, 2026

@mstruebing is attempting to deploy a commit to the Vercel Labs Team on Vercel.

A member of the Team first needs to authorize it.

@mstruebing mstruebing changed the title docs: mention available validation functions Document available functions and issue a warning when args are missing Jan 28, 2026

minLength: (min: number, message?: string): ValidationCheck => ({
fn: "minLength",
fn: 'minLength',
Copy link
Contributor

Choose a reason for hiding this comment

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

Check helper functions use incorrect argument keys that don't match what validation functions expect, causing all validations using helpers to fail silently.

Fix on Vercel

@mstruebing mstruebing closed this Jan 28, 2026
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.

1 participant