drizzle-team / drizzle-orm

Headless TypeScript ORM with a head. Runs on Node, Bun and Deno. Lives on the Edge and yes, it's a JavaScript ORM too 😅
https://orm.drizzle.team
Apache License 2.0
21.57k stars 490 forks source link

[FEATURE]: Add support for new `pipe` syntax for drizzle-valibot #2358

Open saturnonearth opened 1 month ago

saturnonearth commented 1 month ago

Describe what you want

Valibot recently added a new pipe syntax and is now in rc (https://github.com/fabian-hiller/valibot/releases/tag/v0.31.0-rc.0)

I believe things like createInsertSchema need to be updated accordingly to return the correct syntax and Types. Here is a migration guide: https://valibot.dev/guides/migrate-from-v0.30.0/

herkulano commented 4 weeks ago

valibot 0.31.0 is now stable: https://github.com/fabian-hiller/valibot/releases/tag/v0.31.0

herkulano commented 2 weeks ago

PR: https://github.com/drizzle-team/drizzle-orm/issues/2481