Comments (1)
This depends on what type util you're using to infer the type? Are you using infer, input or output?
from zod.
Related Issues (20)
- If object with nested refine fails, it doesn't apply transform before superRefine, causing superRefine to not be typesafe HOT 1
- ZodReadonly missing methods to manipulate schema shape HOT 1
- Generic type function converting property with a default value to optional HOT 1
- Lowercase ULIDs should be considered valid ULIDs HOT 1
- Valid union-of-partials data does not parse even though it conforms to one (or more) of the union members HOT 2
- Changelog.md looks abandoned since version 3.10 HOT 1
- Request to support 'hostname' string validation HOT 6
- Zod .partial() no longer able to use programmatically HOT 1
- Overloaded function return schema with z.union
- Add support for `example` HOT 1
- Refine removes null from schema HOT 2
- Add `invalid_literal` ZodIssueCode to documentation
- Schema evolutions using zod?
- Support for curly braces around UUID/GUID
- ZodObject with generic key (i.e. [key: string]: xx) and specific key (i.e. {debug: xx}) don't _seem_ to work as expected
- zod parsing bug HOT 2
- Enum parsing error: TypeError: Cannot read private member from an object whose class did not declare it (codesandbox repro included) HOT 1
- PanelOn: z.coerce.boolean(), is generating an optional field PanelOn. How can we require it?
- .default() should apply default if wrapped schema transforms to undefined HOT 1
- Using the key of string enum using nativeEnum? HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zod.