8000 Unable to extract `set` elements schema · Issue #4373 · colinhacks/zod · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Unable to extract set elements schema #4373
Closed
@ThomasAribart

Description

@ThomasAribart

Hello and thanks for this wonderful lib!

It seems that contrary to zodOptional.unwrap() , zodList.element or zodUnion.options, I can't get access to the schema of a ZodSet elements 🤔

Is there a method to achieve it? I can try and open a PR if not.

Thomas

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

      0