Good question. In this case, I decided not to create a separate library since only a single service was intended to utilize Drizzle. If multiple services were required, I would probably refactor it into a separate package.
Hi – I wanted to use Drizzle ORM as well since a lot of people prefer it as an ORM and I wanted to show how both can be used in our project. In the end, it probably makes sense to stick with a single ORM, so feel free to choose the one you are most comfortable with!
why you are not creating a separate drizzle library to hold the dependencies? same way you did for prisma
Good question. In this case, I decided not to create a separate library since only a single service was intended to utilize Drizzle. If multiple services were required, I would probably refactor it into a separate package.
Why are you using DRIZZLE ORM and not PRISMA ORM when you have been using PRISMA ORM so far?
Hi – I wanted to use Drizzle ORM as well since a lot of people prefer it as an ORM and I wanted to show how both can be used in our project. In the end, it probably makes sense to stick with a single ORM, so feel free to choose the one you are most comfortable with!