[Feature Request] Polymorphism
I come from laravel background which has pretty nice ways to handle polymorphism. My use cases are going to be having comments, status, bookmarks that could apply for multiple things.. like you could bookmark a user, comment, or post.
It'd be nice to just have some reusable decorators to get this out of the box. Since soft deletes and query scopes are very familiar to laravel, seems maybe polymorphism could be something this package could add to typeorm and make it closer to eloquent.
Issue type:
[ ] question [ ] bug report [x] feature request [ ] documentation issue
Database system/driver:
[ ] cordova
[ ] mongodb
[ ] mssql
[x] mysql / mariadb
[ ] oracle
[x] postgres
[ ] cockroachdb
[ ] sqlite
[ ] sqljs
[ ] react-native
[ ] expo
TypeORM version:
[x] latest
[ ] @next
[ ] 0.x.x (or put your version here)
Steps to reproduce or a small repository showing the problem: