
devtools.fm: Developer Tools, Open Source, Software Development Colin McDonnell - Zod, tRPC, EdgeDB
May 27, 2022
AI Snips
Chapters
Transcript
Episode notes
Building On Neo4j Broke Type Safety
- Colin built a medical SaaS on Neo4j and struggled with runtime type errors as the app grew more complex.
- That pain directly led him to create Zod to validate payloads before writing to the schemaless database.
Push Object Semantics Into The Database
- EdgeDB's EdgeQL blends GraphQL-like selection shapes with an object-oriented schema to make nested queries natural.
- That combination reduces ORM pain by moving object semantics into the database and query language.
Generate A Type-Safe Query Builder From Schema
- EdgeDB generates a TypeScript query builder by introspecting your live schema and standard library to provide fully typed queries.
- The builder exposes closures that let you express nested selection, filters and computed properties with accurate types.
