You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
those format have first-class support in zod and most importantly do not change the inferred type: email | hostname | uri | uuid, so we will be implement them
whereas format: date requires a z.preprocess and change the inferred type from string to Date, idk if that's such a good idea to implement that
if there is demand for this date format then maybe we can implement it with an option flag, but I doubt most people want it
zod implementation: https://github.com/colinhacks/zod#dates
open api spec description: https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#data-types
The text was updated successfully, but these errors were encountered: