DataProxy Client only works if I instantiate a normal Client first #12682
Labels
bug/1-unconfirmed
Bug should have enough information for reproduction, but confirmation has not happened yet.
kind/bug
A reported bug.
team/client
Issue for team Client.
topic: data proxy
Milestone
This is a suuuuper weird problem that I encountered when doing not very common things, so it is probably an edge case, but still super interesting.
Here is the reproduction: https://github.com/janpio/prisma-3.12.0_simple/tree/weird
Get the
.env
content from this internal conversation in #prisma-data-proxy: https://prisma-company.slack.com/archives/C02C34KRHBQ/p1649182410797739When you
npm install
and thennpx ts-node scripts.ts
this should happen:This error message already looks invalid, as the code looks exactly like that.
Now uncomment lines 4 to 6, and this changes:
(Using 3.12.0)
The text was updated successfully, but these errors were encountered: