We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi ;)
pipe schema validation is executed in reversed order than expected.
pipe
const schema = pipe(string, minStringLength(10));
First minStringLength will be validated instead of string and if you try to validate e.g. undefined the type error will be thrown. See https://codesandbox.io/s/adoring-galileo-76vtn?file=/src/index.ts
minStringLength
string
undefined
The text was updated successfully, but these errors were encountered:
How should it work in your opinion @mmiszy ?
Sorry, something went wrong.
Not sure yet ;)
typeofweb
No branches or pull requests
Hi ;)
pipe
schema validation is executed in reversed order than expected.First
minStringLength
will be validated instead ofstring
and if you try to validate e.g.undefined
the type error will be thrown. See https://codesandbox.io/s/adoring-galileo-76vtn?file=/src/index.tsThe text was updated successfully, but these errors were encountered: