Skip to content
This repository has been archived by the owner on Jul 10, 2024. It is now read-only.

Comptability issues with latest prisma 2.12.0 #74

Open
asaadawey opened this issue Nov 25, 2020 · 7 comments
Open

Comptability issues with latest prisma 2.12.0 #74

asaadawey opened this issue Nov 25, 2020 · 7 comments

Comments

@asaadawey
Copy link

Updating prisma to v2.12 and nexus leads me to this error

Error: Unknown property debug provided to PrismaClient constructor.
Read more at https://pris.ly/d/client-constructor
    at validatePrismaClientOptions (/home/ahmed/Desktop/CarRental-Backend/node_modules/.prisma-multi-tenant/management/runtime/index.js:78546:13)
    at new NewPrismaClient (/home/ahmed/Desktop/CarRental-Backend/node_modules/.prisma-multi-tenant/management/runtime/index.js:78611:9)
    at Management.<anonymous> (/home/ahmed/Desktop/CarRental-Backend/node_modules/@prisma-multi-tenant/shared/build/management.js:39:27)
    at Generator.next (<anonymous>)
    at fulfilled (/home/ahmed/Desktop/CarRental-Backend/node_modules/@prisma-multi-tenant/shared/build/management.js:5:58)
    at process._tickCallback (internal/process/next_tick.js:68:7)
@mvhysko
Copy link

mvhysko commented Dec 3, 2020

Hi @asaadawey . I have the same error. Did you manage to find a solution?

@asaadawey
Copy link
Author

@mvhysko
Yes
I have edited the node_modules folder temporarily
I removed the method that verifies prisma client constructor

mvhysko added a commit to mvhysko/prisma-multi-tenant that referenced this issue Dec 4, 2020
mvhysko added a commit to mvhysko/prisma-multi-tenant that referenced this issue Dec 4, 2020
@jimsimon
Copy link

Any chance this can be merged in and released?

1 similar comment
@Intelligix
Copy link

Any chance this can be merged in and released?

@mvhysko
Copy link

mvhysko commented Mar 22, 2021

@jimsimon @Intelligix Sorry guys. This PR is not valid. Current version of this lib should be adapted to the new Prisma version. I do not have a time to do it.

@totaland
Copy link

Is that just mean changing the version in package.json to be using the new Prisma right?
@mvhysko I can do that and make the pull request

@totaland
Copy link

@mvhysko #79
Could you help with fixing the test for this PR please champ?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants