TanStackT
TanStack11mo ago
136 replies
excited-coffee

Validators and schema

Hey, I'm reading through the getting started docs and have a question about validators - do they accept only zod schemas or do they allow any other validation libraries?

https://tanstack.com/start/latest/docs/framework/react/learn-the-basics#mutations

There's a nice spec Standard Schema, and was wondering if I could use other validation library here.

https://github.com/standard-schema/standard-schema
GitHub
A standard interface for TypeScript schema validation libraries - standard-schema/standard-schema
GitHub - standard-schema/standard-schema: A standard interface for ...
This guide will help you learn the basics behind how TanStack Start works, regardless of how you set up your project. Dependencies TanStack Start is (currently) powered by , and . TanStack Router: A...
Learn the Basics | TanStack Start React Docs
Was this page helpful?