How to Generate Types for Prisma Relation Queries

preview_player
Показать описание
How to use the GetPayload helper to generate TypeScript types for the include filter in your relation queries in Prisma.

📣 Follow Coding in Flow on social media:
Рекомендации по теме
Комментарии
Автор

finally!!!! Been struggling with this forever !!! ❤❤❤

peterrusanoff
Автор

Can you please show how to extend prisma relation types with external types? Like attaching an external clerk user object with responses

MuhammadAli-vemt
Автор

hat if we have a userRole enum in the user table and we want to return that type ?

psyferinc.
Автор

hat if we have a userRole enum in the user table and we want to return that type ?

psyferinc.
join shbcf.ru