Multiple DB Connections and Prisma clients

I have 2 databases that are handling different elements of my platform; because of the limitations of Prisma for multi-tenant connection, I need to have multiple clients. At the same time, using the output property does't resolve correctly in my Turborepo setup, so it makes it difficult to do so. I'm getting some conflicts between the clients, and had to ultimately take one of my clients out of the packages, and move it side-by-side with the app that uses it most. It's just inefficient; anyone have any ways to get around this and be able to have multiple clients in a Turborepo setup?
2 Replies
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
thejessewinton
thejessewintonOP3y ago
@Mihai Andrei I haven't, I will give it a look though. Thanks!
Want results from more Discord servers?
Add your server