Maybe some fields in the database do not need to be added to the zod schemas of the models or input types.
@zod.custom.omit(["model", "input"]), @zod.custom.exclude(["model", "input"]) or some similar key could be used to implement this behaviour where model would exclude the field in the generated model schemas and input would exclude the field in the generated input schemas like UserCreateInput, ...
Maybe some fields in the database do not need to be added to the zod schemas of the models or input types.
@zod.custom.omit(["model", "input"])
,@zod.custom.exclude(["model", "input"])
or some similar key could be used to implement this behaviour wheremodel
would exclude the field in the generated model schemas andinput
would exclude the field in the generated input schemas likeUserCreateInput
, ...