Closed ghost closed 9 years ago
How can polymorphic entities be added?
Example schema:
id name
id is_tenure person_id
id gpa person_id
Thanks,
This is a great little framework, but I'm stumped about how to express polymorphic relationships in models in this context without violating dependency injection principles.
How can polymorphic entities be added?
Example schema:
person
id name
teacher
id is_tenure person_id
student
id gpa person_id
Thanks,