PANIC: called Option::unwrap()
on a None
value in query-engine/core/src/interpreter/query_interpreters/nested_read.rs:232:50
#13340
Labels
bug/2-confirmed
Bug has been reproduced and confirmed.
kind/bug
A reported bug.
team/schema
Issue for team Schema.
topic: mysql
topic: nested read
https://www.prisma.io/docs/concepts/components/prisma-client/relation-queries#nested-reads
topic: rust panic
topic: schema validation
Milestone
This issue is based on the information and reproduction provided in #8691
A simplified reproduction can be found at: https://github.com/janpio/prisma-relation-panic
The failing Prisma Client and Query Engine is probably only a symptom though - the schema is actually invalid as it is missing
@unique
onA.custom_id
but is accepted by the tooling for some weird reason. For SQLite and PostgreSQL providers the schema is actually invalid with:Versions
Logs
Client Snippet
Schema
Prisma Engine Query
The text was updated successfully, but these errors were encountered: