Closed Adeniyii closed 3 months ago
e.g z.coerce.number() returns just a number type without the coercion meta.
z.coerce.number()
As far as I'm aware there is no way to represent coercion in JSON schema.
Closed as this was explained in more detail here
e.g
z.coerce.number()
returns just a number type without the coercion meta.