Skip to content

Reuse existing zod schemas #3019

@ThomasKientz

Description

@ThomasKientz

Hi,

I want to reuse existing zod schemas I have created and exported from another package, but they are missing extensions like .example("test").

Is there a way to import existing zod schemas and augment them with the plugin?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions