#Typeorm polymorphic relationship
4 messages · Page 1 of 1 (latest)
polymorphic what?
https://sequelize.org/docs/v6/advanced-association-concepts/polymorphic-associations/
something like this
Note: the usage of polymorphic associations in Sequelize, as outlined in this guide, should be done with caution. Don't just copy-paste code from here, otherwise you might easily make mistakes and introduce bugs in your code. Make sure you understand what is going on.
Okay, polymorphic relations. Polymorphism can be in many places :p
There's a package for that, typeorm-polymorphic, but I haven't used it yet.