While using the t3-stack (Next, tRPC, Prisma, Next-auth, Typescript)
tRPC encountered an error on undefined: TRPCError: Converting circular structure to JSON
--> starting at object with constructor 'RequestHandler'
| property 'client' -> object with constructor 'PrismaClient'
--- property '_fetcher' closes the circle
Check out the repository here: https://github.com/gabrielforster/my-portfolio (develop branch)