Skip to content

zod schema generator does not use same types as typescript #243

Closed
@sschneider-ihre-pvs

Description

@sschneider-ihre-pvs

It seems that the mapping types of the typescript generator do not match the ones the zod generator is creating, I also have to say, the resulting type is exactly the same

type '{  description?: string | null | undefined; }' is not assignable to type '{ description?: InputMaybe<string> | undefined; }'.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions