mezo
mezo
TTCTheo's Typesafe Cult
Created by Mugetsu on 9/9/2024 in #questions
New Zod schema based on an existing one, with some fields having different validation rules?
what happens if you define a new schema with the fields you want to edit and then use merge? https://zod.dev/?id=merge
5 replies