Skip to main content

Interface: FormatZodIssuesOptions

Defined in: shared/utils/zodIssueFormatting.ts:35

Options for formatZodIssues.

Propertiesโ€‹

includePath?โ€‹

optional includePath: boolean

Defined in: shared/utils/zodIssueFormatting.ts:42

When true, prefix each message with a rendered path (e.g. foo.bar: ...).

Default Valueโ€‹

true;

pathSeparator?โ€‹

optional pathSeparator: string

Defined in: shared/utils/zodIssueFormatting.ts:49

Separator used when rendering the path.

Default Valueโ€‹

".";