Interface: ZodIssueLike
Defined in: shared/utils/zodIssueFormatting.ts:20
Minimal shape of a Zod issue used for formatting.
Propertiesโ
messageโ
message:
string
Defined in: shared/utils/zodIssueFormatting.ts:21
path?โ
optionalpath: readonlyZodIssuePathPart[]
Defined in: shared/utils/zodIssueFormatting.ts:29
Path segments pointing to the offending value.
Remarksโ
This is optional to allow callers to reuse the formatter with "Zod-like" issue objects that only provide a message.