aiji42 / prisma-data-proxy-alt

This is a library to alternate and self-host the Prisma Data Proxy (cloud.prisma.io)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support plannetscale database

chaonengs opened this issue · comments

Facts:

  • if i use plannetscale, i have to set relationMode = 'prisma' in schema file
  • the current verison of prisma in this project does not support relationMode. I have looked the lockfile, it is 4.0.0, to support relationMode, the minimal version of prisma is 4.8.0

Solution:
Maybe update the prisma version? I have tired change the version in package.json, and then run build, but it occured error when building.

I managed to upgradde to prisma 4.15.0 by using @prisma/internals replace of @prisnam/sdk
but the query does not work well, it always return 404 error from the dp server