Skip to main content

Interface: FormatZodIssuesOptions

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

Options for formatZodIssues.

Propertiesโ€‹

includePath?โ€‹

optional includePath?: boolean

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

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:51

Separator used when rendering the path.

Default Valueโ€‹

".";