Skip to content

bug(zod): zx.toType doesn't handle z.templateLiteral with nested z.union or z.literal schemas #531

@ahrjarrett

Description

@ahrjarrett

Originally reported in #521. This issue splits out the work for zx.toType to handle arbitrarily nested unions in z.templateLiteral.

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