Improve the DX for enabling the data proxy #12904
Labels
kind/improvement
An improvement to existing feature and code.
team/client
Issue for team Client.
team/psl-wg
team/schema
Issue for team Schema.
tech/typescript
Issue for tech TypeScript.
topic: data proxy
topic: dx
topic: prisma-client
Milestone
Problem
We currently use the
PRISMA_CLIENT_ENGINE_TYPE="dataproxy"
environment variable to generate a proxy-enabled Prisma Client.The problem with PRISMA_CLIENT_ENGINE_TYPE is that it's verbose and undiscoverable. We made this decision as a quick hack to get ready for Serverless Conference.
Suggested solution
We could have it be npx prisma generate --proxy for example.
Alternatives
Some other options in this internal Slack Thread
The text was updated successfully, but these errors were encountered: