A validator that checks input against a given Zod schema.
If parsing fails, it returns a validation result containing the list of Zod issues under the error code "zodValidator_invalidParams".
"zodValidator_invalidParams"
The Zod schema used to validate the input.
The Zod schema instance.
The parameters to validate.
A promise resolving to a ValidationResult. If parsing fails then the result contains the error code "zodValidator_invalidParams along with the list of Zod issues.
"zodValidator_invalidParams
A validator that checks input against a given Zod schema.
If parsing fails, it returns a validation result containing the list of Zod issues under the error code
"zodValidator_invalidParams"
.