Skip to content

Zod Schema: How to add custom error message (i18n) #86

@knoefel

Description

@knoefel

So, this is more like a question/discussion rather than an actual issue:

Is there a way to customise the error message for the generated zod schemas? For example, i want to set a required string message to support i18n messages.

Maybe this is something that's possible with zod already but i couldn't find any infos about it.

Thanks in advance and also for the great work with this plugin!!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions