How to implement Domain Driven Design using Prisma?

Am I stuck with creating objects like this?
No description
8 Replies
barry
barry17mo ago
Yup Also DDD is dumb Don’t get stuck thinking you have to follow some dumb principles
notdevkey
notdevkey17mo 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
SawaidOP17mo ago
DDD is chad. @.finnian but creating database object like this is just theowat
Finn
Finn17mo ago
Huh? Your Todo app does not.need ddd lol
Sawaid
SawaidOP17mo ago
It is an example app. You don't need to hurt me like this. 🥲
Finn
Finn17mo ago
Sus
Scot
Scot17mo ago
DDD is great
Christoph
Christoph17mo 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