-
-
Notifications
You must be signed in to change notification settings - Fork 13
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
feat: lazy validator #147
feat: lazy validator #147
Conversation
Codecov Report
@@ Coverage Diff @@
## main #147 +/- ##
==========================================
- Coverage 99.26% 99.12% -0.15%
==========================================
Files 53 55 +2
Lines 3137 3203 +66
Branches 777 791 +14
==========================================
+ Hits 3114 3175 +61
- Misses 13 18 +5
Partials 10 10
Continue to review full report at Codecov.
|
Can you also try const obj = s.object({
id: s.string,
items: s.lazy(() => obj)
}); ? Does this work? |
missing github reporter in vitest xD |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi, that's me doing this again, sorry not sorry.
ref: https://github.com/jquense/yup#lazyvalue-any--schema-lazy