Closed davidmdm closed 3 years ago
Works as expected, only thing I would kinda expect is to be able to pass this to TypeOptions, i.e. z.string({ typeError: "..." })
since min or max works similarly, but thats just me
And do you think having simple function support is enough for working with locales
Sure, its enough for anyone to implement it themselves.
A need to add support for user defined messages for schema type errors