Skip to content

prismaJsonNullability condition backwards #28

@CodeSmith32

Description

@CodeSmith32

The prismaJsonNullability option is completely backwards:

  • If true, Json types do not allow null.
  • If false, Json types do allow null.

Code with broken condition:

https://github.com/Pyxlab/zod-prisma/blob/main/src/generator.ts#L98-L102

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions