SmashBoy
@smashboyhere
ID: 1262649115
12-03-2013 18:56:04
227 Tweet
5 Followers
120 Following
😎Cooking a small utility library for my project where one model definition generates Drizzle ORM schemas, zod validation schemas and MobX-State-Tree models automatically. Basically trying to make a single source of truth for full-stack🔥
Update on the Drizzle ORM wrapper on steroids: working on a fully typed bidirectional relations API and to make relations defined directly inside models (instead of externally) I ended up rewriting the whole type system and introducing an explicit ModelShape builder — definitely