Spot the Prisma relation error?
Hey guys, I'm trying to add a
@relation
in prisma but I'm forced to create use an array of elements for the model (one to many) and I want a one to one relationship here.
More info in the SO question: https://stackoverflow.com/questions/74167803/why-prisma-forces-me-to-have-an-array-in-a-relationship?noredirect=1#comment130948143_74167803
or even more in the repo :).
https://github.com/esponges/t3-ecommerce0 Replies