typeschema
typeschema copied to clipboard
🛵 Universal adapter for TypeScript schema validation.
This is the error:  Running locally is fine but production. Please fix this asap! Thank you so much!
Hi, a user of next-safe-action reported a bug with the edge runtime, where the action execution breaks with this error when client input(s) get validated and parsed: ``` TypeError [ERR_VM_DYNAMIC_IMPORT_CALLBACK_MISSING]:...
refactor: improve adapter selector Summary: Test Plan:
Today I try this code : ```ts import { Infer, Schema } from '@typeschema/main'; const ZodSchema = z.object({ title: z.string(), }); type ZodSchemaType = z.infer; type Output = Infer; ```...
When using TypeScript 5.5.2, the imported `Schema` is typed `any`. Note that this is with `@typeschema/main`, `@typeschema/zod` and `zod` packages installed, using workspace TypeScript version in VS Code (the current...
Valibot is moving rapidly and while there is a fix now for v31, upgrading to v33 breaks npm install. Is there a way to allow new versions and still use...
Making the parsing synchronous would make it easier to integrate with other tools like [`t3Env`](https://github.com/t3-oss/t3-env/issues/6#issuecomment-1913785215)
I just started using this implementation of class library and noticed I was getting really horrible error messages.  Turns out it's because this line https://github.com/decs/typeschema/blob/main/packages/class-validator/src/validation.ts#L26 was using a developer...
👋 Hello, I'm here to warn you that `@gcornut/valibot-json-schema` is now deprecated as Valibot [now has an official JSON schema converter](https://github.com/fabian-hiller/valibot/blob/main/packages/to-json-schema/README.md) 🎉 ! It's not extremely urgent to migrate to...