How to implement Domain Driven Design using Prisma?

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