Skip to content

Zod: Apply schema suffix only to schema and not to the type #3068

Description

@Arnagos

Description

It would be nice if we could only apply the schema suffix to the schema itself and not the inferred type as well.

Current behavior

Currently, the suffix gets added to both schema and type.

Proposed behavior

Only add it to the schema.

Proposed solution

Maybe add an option to define the type suffix?

Metadata

Metadata

Assignees

No one assigned

    Labels

    zodZod schema client related issue

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions