Attempting to do a query in the Prisma Client on a model with a foreign key that has @map
panics on 3.10.0
#12105
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/regression
A reported bug in functionality that used to work before.
team/client
Issue for team Client.
tech/engines
Issue for tech Engines.
topic: relations
Milestone
Bug description
Attempting to do a query in the Prisma Client on a model with a foreign key that has
@map
panics on 3.10.0. An example schema and script to do a query is below. This didn't occur in 3.9 or below.How to reproduce
@map
withRUST_BACKTRACE=1 DEBUG="*" node index.js
Expected behavior
The Query Engine doesn't panic with foreign keys that have
@map
Prisma information
Environment & setup
Prisma Version
The text was updated successfully, but these errors were encountered: