Skip to content

feat: add when param support to superRefine#5847

Closed
Yihao-G wants to merge 1 commit into
colinhacks:mainfrom
Yihao-G:main
Closed

feat: add when param support to superRefine#5847
Yihao-G wants to merge 1 commit into
colinhacks:mainfrom
Yihao-G:main

Conversation

@Yihao-G

@Yihao-G Yihao-G commented Apr 9, 2026

Copy link
Copy Markdown

Closes #5197

superRefine now accepts an optional when callback parameter (matching the existing refine API), allowing conditional execution of superRefine checks based on the validation payload.

@vercel

vercel Bot commented Apr 9, 2026

Copy link
Copy Markdown
Contributor

@Yihao-G is attempting to deploy a commit to the colinhacks Team on Vercel.

A member of the Team first needs to authorize it.

@colinhacks

Copy link
Copy Markdown
Owner

Already merged in #5741. Closing as a duplicate — thanks for the PR!

Comment written with AI assistance.

@colinhacks colinhacks closed this Apr 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.

[V3-V4] Superrefine is not triggered if object validation fails

2 participants