Superlight-Labs / NewFinance

Multi Party Secured Mobile Bitcoin Wallet
https://getnewfinance.com/
GNU Affero General Public License v3.0
11 stars 1 forks source link

(Inquiry) Prisma: `binary` engine type #84

Open jharrell opened 8 months ago

jharrell commented 8 months ago

Hi there from Prisma 👋

We're doing some outreach as we noticed that you’re using the engineType="binary" option in your Prisma schema. We’re curious to learn about your use case for running the Query Engine as a binary over the default (via nAPI)?

lauhon commented 8 months ago

Hey @jharrell,

we are using it here because the need for it came up while running our backend on an amd64 based docker image. On Production, we are hosting our Database via https://planetscale.com/

When running our backend that way, we ran into errors without setting the engineType.

TBH it wasn't a conscious choice, but rather the result of some debugging and troubleshooting, if you know what I mean by that.

Really cool to see that you actively reach out to your users, i hope that my answer helps :)