expo/entity

Entity Relationships

wschurman opened this issue · 0 comments

This is a fairly broad task covering:

  • Add ability to express relationships (associations, foreign keys, etc) in EntityFieldDefinition
  • Add ability to query relationships easily. Put another way, add a way to nicely query the associationLoader for the relationships defined in EntityFieldDefinition.
  • Add support for cascading deletes to the relationship definition, and update the delete mutator to start a transaction, topologically sort the relationship graph to delete and everything that depends on an entity, and delete from the leaves to the root in the transaction.