"Field does not exist on enclosing type" error is thrown in findUniqueOrThrow
#16549
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
kind/regression
A reported bug in functionality that used to work before.
team/client
Issue for team Client.
Bug description
Hello! I updated prisma from
4.6.1
to4.7.0
and when testing my code sent me this error message:How to reproduce
main.ts:
prisma/schema.prisma:
docker-compose.yml:
package.json:
Run the following commands:
docker compose up -d npm install npx prisma migrate dev --name add npm run test
Expected behavior
It should not crash
Prisma information
see above
Environment & setup
macOS Ventura 13.0
PostgresQL
18.12.1
Prisma Version
The text was updated successfully, but these errors were encountered: