enhancementgood first issue
Metriche repository
- Star
- (3 star)
- Metriche merge PR
- (Metriche PR in attesa)
Descrizione
Hey,
have seen you're currently using @prisma/client in the prisma adapter.
Based on my own expierence, this works, but only as long as you do not use the custom output for the prisma client.
Had the same problem in my project and decided to mock the prisma client in the adapter implementation to support both prisma client types ( prisma-client-js and prisma-client ).
Maybe this could be useful here, too.
Here the quick links to the relevant files:
- https://github.com/noxify/vorsteh-queue/blob/main/packages/adapter-prisma/types/index.d.ts
- https://github.com/noxify/vorsteh-queue/blob/main/packages/adapter-prisma/src/postgres-adapter.ts#L38-L44
If you think this could be useful, feel free to use it :)
Can also provide a PR if this would help ✌️