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 🙂