colinhacks / zod

TypeScript-first schema validation with static type inference
https://zod.dev
MIT License
33.98k stars 1.19k forks source link

chore: removed deprecated .nonstrict() and replace with .passthrough() #3538

Open TommoLeedsy opened 5 months ago

TommoLeedsy commented 5 months ago

This PR resolves #3522 by removing all usage of .nonstrict() and replacing it with .passthrough()

TommoLeedsy commented 1 month ago

@colinhacks It would be great if you could review this!