Skip to content
0:00 / 0:00

#typescript#prisma#generics

TypeScript Berlin Meetup #2: Generics, Conditional types and Mapped types

Prisma

28K subscribers • 2 videos on Hallway

YouTube
  • Recommended by 2 people: 2 in engineering communities.
  • Presented by Tim Suchanek, lead TypeScript developer at Prisma
  • Made by the vendor. The company whose product it covers made or sponsored it.

Advanced. Deep dive for people who know the field.

16K views6 years ago2 recommendations

Programming languagesDatabases and dataTypeScriptDatabase internals

Tim Suchanek explains how to use advanced TypeScript features like conditional and mapped types to build type-safe database clients.

Achieving state-of-the art developer experience by combining generics, conditional types and mapped types— Tim Suchanek 🗣Achieving state-of-the art developer experience by combining generics, conditional types and mapped types In order to understand the concepts of conditional types and mapped types, we will ride on the edge of what is possible in TypeScript. To see a real-world use-case how the latest TypeScript feature can be used, we take a close look how the Photon.js TypeScript database client combines these concepts under the hood. *Bio:* Tim is the lead TypeScript developer at Prisma, based in Berlin. Creating web applications for over 10 years, he enjoys great developer experience and cutting edge technologies. Links: From the November Typescript Berlin Meetup: meetup.com/TypeScript-Berlin/ Tim Suchanek: twitter.com/timsuchanek Hosted at Prisma: prisma.io/ 🎥 Filmed by iStream: istream.pl/ ✨ Join our Prisma Meetup group here: meetup.com/TypeScript-Berlin/ ------------------------ Next: 👉 Check Next video: Implementing Custom Refactorings for TypeScript - youtu.be/wncYFKDQQgw 👉 Check Previous video: Delightful Command-Line Interfaces with Node and Ink - youtu.be/lZly1SPIhfY ------------------------ 📚 Resources: ✅ Subscribe to Prisma: youtube.com/channel/UCptAHlN1gdwD89tFM3ENb6w?sub_confirmatio… ✅ Get help from the Prisma Community: slack.prisma.io/ ✅ Learn more about Prisma: ◭ Website: prisma.io ◭ Docs: prisma.io/docs ◭ Quickstart: pris.ly/qstart ------------------------ 💬 Connect with Prisma: Twitter: twitter.com/prisma Instagram: instagram.com/prisma.io/ TikTok: tiktok.com/@prismadata Facebook: facebook.com/prisma.io LinkedIn: linkedin.com/company/prisma-io ------------------------ Prisma sponsors human-reviewed, professional closed captions for ANY video valuable to our community (for example, about: Node.js, TypeScript & Type Safety, Prisma, databases, etc). Get your FREE captions here: pris.ly/closedcaptions

Why it's here

2 people recommend this

What people say. Recommended for understanding how to type dynamic modeling libraries or build highly type-safe database clients.

Moments people linked to

u/Squigglificatedin r/typescript • Recommends

On “How would I add types to dynamic modeling library?”

You might find this talk relevant to your problem [video

u/kpritamin r/typescript • Recommends

On “Help with Typescript Compiler internals”

Do you want to do something like this? [video
1View on Reddit

u/nikolasburkin r/typescript • Mentions

On “Which ORM should I use?”

> Lol, I was actually expecting one of you Prisma guys to turn up again in response. Here's we go again, I guess... And I have a feeling it won't be the last time we'll meet on Reddit or HN either :D I definitely appreciate your input and perspective and I don't mind if you or anyone else calls Prisma an ORM. (I'm slightly less appreciative of your strong language and snarky tone, but I can live with that in online conversations :D ). If that helps you categorize and build a mental model for what Prisma is and how it works, that's awesome and I'll be the last person putting that into question! What I'm describing is _our_ own understanding of the tooling space which we've found to resona…