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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
.default
I read the docs and wasn't able to find how to access the value of .default() that's defined in a zod schema like
.default()
const firstName = z.string().default("Mohit");
would be great if we could add this to the docs for beginners! 馃檪
The text was updated successfully, but these errors were encountered:
Not sure I undertand the issue 馃檭
I'm not going to document everything the code does. By that point it's just code again
Sorry, something went wrong.
No branches or pull requests
I read the docs and wasn't able to find how to access the value of
.default()
that's defined in a zod schema likewould be great if we could add this to the docs for beginners! 馃檪
The text was updated successfully, but these errors were encountered: