Closed iceydee closed 7 months ago
Added an option to allow strict validation of objects (by adding .strict() to z.objects). This will make zod throw unknown key error whenever unexpected data is encountered.
.strict()
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Added an option to allow strict validation of objects (by adding
.strict()
to z.objects). This will make zod throw unknown key error whenever unexpected data is encountered.