Skip to content

Do you support z.file()? #25

@customautosys

Description

@customautosys

Hi I see that when Zod exports to JSON-Schema it can use z.file() https://zod.dev/json-schema?id=file-schemas

Is there a way to use z.file with your library? Actually I want to use it with zod-form-data to send a combination of various fields in an object along with files using FormData, and to read the JSON schema from a database to validate the FormData sent through trpc.

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