Interface: ZodIssueLike
Defined in: shared/utils/zodIssueFormatting.ts:22
Minimal shape of a Zod issue used for formatting.
Propertiesโ
messageโ
message:
string
Defined in: shared/utils/zodIssueFormatting.ts:23
path?โ
optionalpath?: readonlyZodIssuePathPart[]
Defined in: shared/utils/zodIssueFormatting.ts:31
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.