called Option::unwrap()
on a None
value
#21974
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.
tech/engines
Issue for tech Engines.
topic: nested read
https://www.prisma.io/docs/concepts/components/prisma-client/relation-queries#nested-reads
topic: rust panic
topic: unwrap error
Hi Prisma Team! My Prisma Client just crashed. This is the report:
My schema has more than 5.5k lines so I don't think it's going to be helpful but I was able to figure out how this happens. This is the query that I'm running:
And if I comment out this part, I don't get the error anymore:
Also, not sure if this is helpful but this is the relation that I'm trying to include:
When I enable the query logging, this is the last query that get logged before the panicking — it's the relation query:
Also, at the start of the error message we see this:
Versions
Logs
Client Snippet
// PLEASE FILL YOUR CODE SNIPPET HERE
Schema
// PLEASE ADD YOUR SCHEMA HERE IF POSSIBLE
Prisma Engine Query
The text was updated successfully, but these errors were encountered: