How to implement Domain Driven Design using Prisma?
Am I stuck with creating objects like this?
8 Replies
Yup
Also DDD is dumb
Don’t get stuck thinking you have to follow some dumb principles
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
DDD is chad.
@.finnian but creating database object like this is just
Huh?
Your Todo app does not.need ddd lol
It is an example app. You don't need to hurt me like this. 🥲
DDD is great
Thinking about your domain can't hurt. Question is: What do database requests have to do with your domain?