TypeError: Cannot read properties of undefined (reading 'Symbol(Pothos.contextCache)') #449
-
Hi, During the weekend I was trying to migrate a Nextjs application using Prisma Nexus Plugin to using Pothos with the Pothos Prisma Plugin. Basic queries work calling GraphQL Codegen Generic SDK --> Yoga --> Pothos --> Prisma 💪 But queries for prisma objects having a t.relation all seem to fail...
It gives the following error:
Maybe I'm doing something wrong... So eventually I have:
Now when I change:
to:
and manually resolve the Difficult to understand why this is not working as expected, or what |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 5 replies
-
I think this might be an issue with the new prisma version, can you check if you are on the latest version of pothos, prisma, and the prisma plugin? |
Beta Was this translation helpful? Give feedback.
I think this might be an issue with the new prisma version, can you check if you are on the latest version of pothos, prisma, and the prisma plugin?