ValidationIssue
Represents a validation issue from a Standard Schema compliant validator. Includes the standard message and path fields, plus allows vendor-specific extensions (e.g., zod's code, expected, received, etc.).
interface ValidationIssue {
readonly message: string;
readonly path?: readonly string[];
}Properties
| Name | Required | Type | Description |
|---|---|---|---|
message | Required | string | The validation error message. |
path | Optional | readonly string[] | The path to the invalid value, normalized to strings. For nested objects, this will be like ["user", "address", "0", "street"]. |