Get Zod Schema from Better-Auth to use in form libraries
Is there a way to generate Zod schema or get Zod schema for better auth endpoints?
I am using Hono.js.
I am currently defining Zod schema on client, but obviously this causes the problem of schema drift.
Lots of form libraries like React Hook Form or SvelteKit Superforms takes a Zod schema.
I am using Hono.js.
I am currently defining Zod schema on client, but obviously this causes the problem of schema drift.
Lots of form libraries like React Hook Form or SvelteKit Superforms takes a Zod schema.