0.1.6 • Published 2 years ago

@llllvvuu/zoderror-zod-schema v0.1.6

Weekly downloads
-
License
ISC
Repository
github
Last release
2 years ago

zoderror-zod-schema

This is mostly a codegen/docgen hack, it would be ideal to just use the z.ZodError class directly, but my OpenAPI tooling generates from Zod schemas so here is a Zod schema that matches the z.ZodError class.

TS-to-zod tooling didn't work out of the box for me so I manually supervised/massaged it and Copilot.

Usage

pnpm install @llllvvuu/zoderror-zod-schema
import { ZodErrorSchema, ZodIssueSchema } from "@llllvvuu/zoderror-zod-schema"

API Reference

API Report

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago