Hi guys. I’m migrating from Rails to nestjs and tr...
# orm-help
д
Hi guys. I’m migrating from Rails to nestjs and trying to choose the right ORM. I have a lot of polymorphic relationships and wanna know what Prisma can offer for such case?
д
But how CRUD could help with polymorphic relationships?
r
Currently Prisma doesn’t have first class support of Polymorphic relationships as it is not a OO based ORM. It currently just provides methods that you can call for your models and return plain JS objects back as data. We are currently planning to implement such a wrapper and there are some ideas in this thread. It would be great if you could view and add your feedback as well 🙂