-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add isNull type #215
Add isNull type #215
Conversation
9b979e9
to
90b1673
Compare
It's all good for me! :D |
Not related to this PR (But i don't know how to contact you otherwise), I recently migrated one of my repo to |
That would be great! I wanted to take a look into vitest but didn't have the time yet. If you have time to submit a PR, that's very welcome 🙇. |
PS: for things like proposals, enhancements etc, I guess we could you the discussion feature. 😃 |
Aha yes I always forgot about this. I'll keep you updated if I find a little time to do it :D |
@victorgarciaesgi I changed the name to I'm going to merge this PR and release an RC version |
Yeay! 🎉 |
Add the native validator
isNull
. The validator basically returns{type: null}
and does not have any method or flag.It can be used as an escape hatch for nullable non-required props.
See #206 for more context.