TypeScript-first schema validation with static type inference.
By @colinhacks
Docs https://t.co/W6H0OevG8K
Discord https://t.co/Vuy7uIhXYegithub.com/colinhacks/zod Typesafety, USAJoined November 2022
Introducing ✨ Standard JSON Schema ✨
It's a sister spec to Standard Schema that provides a common interface for any entity that can be converted to JSON Schema
BIG DAY. Introducing Standard Schema 1.0!
It's a specification for a "common interface" to be implemented by all TypeScript schema libraries, written collaboratively by the the creators of Zod (👋), Valibot, and ArkType to promote interoperability.
standardschema.dev
I'd heard the "parse, don't validate" mantra before but just recently tracked down @lexi_lambda's original post and it finally clicked. Honestly a relief have such a concrete explanation of why using tools like @zodtypes and @pydantic "feels" so right. lexi-lambda.github.io/blog/2019/11/0…
I shipped a library!
zod-fetch gives you a TINY wrapper to help you make any fetch function type and runtime-safe.
If you've ever been intimidated by trying to hack together fetch and Zod, this library should be perfect.
@DavidKPiano@kentcdodds We built schema based forms using @HookForm + @zodtypes + form components we created + custom components can be added.
We can manually compose forms, or generate from JSON and it really saves so much time (and so many calls to useState)
Validating user input for serverless functions is important even with end to end typescript.
Use zod with Convex to get type safety and regular safety.
buff.ly/3Hv2Rx1
29K Followers 2K Following👋 I'm Alex & I tweet about web dev stuff
🧙♂️ Open-sourcerer & fully-stacked typescripter.
👉 Creator of @trpcio, work @square, scout @a16z
14K Followers 2K FollowingSimplifying cloud infra at @flightcontrolhq | CEO & cofounder | Creator @blitz_js | ✝️ Jesus Follower | 🛩🚁 Pilot l 🎹🎷Musician
356 Followers 407 FollowingFOSS creator, self-hosting enthusiast. I made @papra_app, @ittoolsdottech, https://t.co/6PaBFMbfz7 and many other things
Prev : Indy, EDF, INSA - fr, en
448 Followers 2K FollowingSoftware Engineer, Golang, Python, Java, TypeScript, React, Flutter / Driving, Fishing, Music / Please contact me via HP for the job request👇