You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On my project I need to open 2 postgresql connections (1 master, 1 read replica for analytics). I can't figure how to give a custom name when I instantiate a PrismaModule that allow me to inject PrismaService with the specified name.
Hi @cursan-a, checkout #40 as this is a new feature and you will need to use CustomPrismaModule and CustomPrismaService. Let me know if it works for you.
Hi,
On my project I need to open 2 postgresql connections (1 master, 1 read replica for analytics). I can't figure how to give a custom name when I instantiate a
PrismaModule
that allow me to injectPrismaService
with the specified name.I need something like :
whatever.module.ts
whatever.service.js
Is that possible with your implementation ?
Thank you in advance
The text was updated successfully, but these errors were encountered: