How to implement Domain Driven Design using Prisma?

Am I stuck with creating objects like this?
No description
8 Replies
barry
barry15mo ago
Yup Also DDD is dumb Don’t get stuck thinking you have to follow some dumb principles
notdevkey
notdevkey15mo ago
i agree, otherwise you can take a look at this https://github.com/omar-dulaimi/prisma-trpc-generator
GitHub
GitHub - omar-dulaimi/prisma-trpc-generator: Prisma 2+ generator to...
Prisma 2+ generator to emit fully implemented tRPC routers - GitHub - omar-dulaimi/prisma-trpc-generator: Prisma 2+ generator to emit fully implemented tRPC routers
Sawaid
Sawaid15mo ago
DDD is chad. @.finnian but creating database object like this is just theowat
Finn
Finn15mo ago
Huh? Your Todo app does not.need ddd lol
Sawaid
Sawaid15mo ago
It is an example app. You don't need to hurt me like this. 🥲
Finn
Finn15mo ago
Sus
Scot
Scot15mo ago
DDD is great
Christoph
Christoph15mo ago
Thinking about your domain can't hurt. Question is: What do database requests have to do with your domain?
Want results from more Discord servers?
Add your server