Closed BaptisteCayrier closed 3 years ago
you need to upgrade prisma to the last version or down our plugin to version 2
Hi, thanks for your answer! Everything working as expected now! :)
I didn't saw this information anywhere on any Readme, maybe you could add it to make sure nobody face this issue again. :)
you will get this info on the release notes
Hi, I tried to use you tool PrismaSelect (which looks so usefull!) but I faced a little issue:
Here is my code:
I printed
_require
and_require.Prisma
is undefined:One possible fix could in this same file could be:
However, I think this is generated code and the correct fix is probably to be done in https://github.com/paljs/prisma-tools/blob/main/packages/plugins/src/select.ts#L78
From
To
Obviously this fix might be specific to my stack, for more information about it, here is my package.json:
I hope everything is well explained and thanks in advance for you to look at it :)