-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers
Description
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 ✌️
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requestgood first issueGood for newcomersGood for newcomers