how to remove `| null` from relations in relationMode = "prisma"?
I appreciate that these relations arent enforced at the DB level, and so prisma doesn't know if they exist, but it doesn't make sense to for my backend to have to check all those relations on every query.
I know if we used relationMode = "foreignKeys" that this woudn't be an issue, but due to other factors we aren't able to use this mode.
I know that these relations prisma is marking as nullable will exist, and I would be happy for prisma to not make those relations nullable.
Is there any way to these null unions off?
0 Replies