How to implement Domain Driven Design using Prisma?

Am I stuck with creating objects like this?
No description
8 Replies
barry
barry2y ago
Yup Also DDD is dumb Don’t get stuck thinking you have to follow some dumb principles
notdevkey
notdevkey2y 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
SawaidOP2y ago
DDD is chad. @.finnian but creating database object like this is just theowat
Finn
Finn2y ago
Huh? Your Todo app does not.need ddd lol
Sawaid
SawaidOP2y ago
It is an example app. You don't need to hurt me like this. 🥲
Finn
Finn2y ago
Sus
Scot
Scot2y ago
DDD is great
Christoph
Christoph2y ago
Thinking about your domain can't hurt. Question is: What do database requests have to do with your domain?

Did you find this page helpful?