docs: add Valibot examples to validation guide - #2324
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
📝 WalkthroughWalkthroughThe validation guide adds a Valibot example for Standard Schema validation. The example validates an age field with a minimum value of 13 and connects the schema to ChangesValibot validation example
Estimated code review effort: 1 (Trivial) | ~3 minutes 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
I try to improve the visibility and adoption of Valibot and am therefore thankful for code examples in other docs but if this is the wrong place for it, feel free to close this PR. |
|
View your CI Pipeline Execution ↗ for commit 4d3047c
☁️ Nx Cloud last updated this comment at |
LeCarbonator
left a comment
There was a problem hiding this comment.
LGTM! Thanks for the docs snippet!
The validation guide names Valibot as a supported Standard Schema library but there are no code examples for it. This adds a Valibot example based on the existing Zod one. The snippet is type-checked against the latest @tanstack/react-form and valibot. I'm the author of Valibot.
Summary by CodeRabbit