MCPcopy Create free account
hub / github.com/cursor/plugins / formatZodIssues

Function formatZodIssues

orchestrate/skills/orchestrate/scripts/schemas.ts:614–618  ·  view source on GitHub ↗
(issues: z.ZodIssue[])

Source from the content-addressed store, hash-verified

612}
613
614export function formatZodIssues(issues: z.ZodIssue[]): string {
615 return issues
616 .map(issue => ` ${formatIssuePath(issue.path)}: ${issue.message}`)
617 .join("\n");
618}
619
620function parseJsonWithSchema<Schema extends z.ZodTypeAny>(args: {
621 schema: Schema;

Callers 2

schemas.test.tsFile · 0.90
parseUnknownWithSchemaFunction · 0.85

Calls 1

formatIssuePathFunction · 0.85

Tested by

no test coverage detected