Skip to content

Document workarounds for Union types #3833

@nikolasburk

Description

@nikolasburk

Union types are one of the most popular feature requests but it doesn't seem like we're adding them very soon (since they're not yet on the roadmap). There are ways though how people can workaround this and get similar functionality, one user laid these out in a comment. We should also put some documentation for such workarounds into the docs to mitigate the lack of native union type support in Prisma.

image

image

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/docsDocumentation creation, updates or corrections

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions