First of all, thanks for your awesome work.
I had a bit of a problem using custom.omit and comments in schema.prisma.
model User {
/// ID
id Int @id @default(autoincrement())
/// Nickname
nickname String
/// Avatar
avatar String?
/// Private Salt
privateSalt String? /// @zod.custom.omit(["model", "input"])
}
First of all, thanks for your awesome work. I had a bit of a problem using
custom.omit
and comments inschema.prisma
.The generated UserSchema is:
Omitting works correctly when no comments are used. I've tried multiple variations, but none produce the expected result.
Any help or insights on how to resolve this problem would be greatly appreciated!