Skip to content

[Bug] Zod Plugin Default Values #886

Closed
@sakgoyal

Description

@sakgoyal

Description and expected behavior
Setting default values and using the Zod plugin does not generate types with default values.

Screenshots
image
image

default values for empty strings are missing.
Environment (please complete the following information):

  • ZenStack version: 1.4.1
  • Prisma version: 5.6.0
  • Database type: Postgresql

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions