Skip to content

Invalid ZOD validation generation #3

@omarbanat

Description

@omarbanat

Is there an existing issue for this?

  • I have searched the existing issues

Current behavior

emailVerified Boolean @default(false) is translated to emailVerified: z.boolean().email()

Minimum reproduction code

https://github.com/Poyesis/nest-schematics-prisma

Steps to reproduce

No response

Expected behavior

emailVerified: z.boolean()

Package version

1.0.4

NestJS version

No response

Node.js version

No response

In which operating systems have you tested?

  • macOS
  • Windows
  • Linux

Other

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions