Skip to content

Cannot properly handle enum arrays for postgres database #576

@ymc9

Description

@ymc9

v3.1.1

ZModel:

enum Tag {
    TAG1
    TAG2
    TAG3
}

model Foo {
    id Int @id
    tags Tag[]
}

Both create and find will result in error or incorrect result.

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