Skip to content

v0.1.6 - Implement Lazy Loaded Relationship Fields

Compare
Choose a tag to compare
@ZechCodes ZechCodes released this 03 Jun 20:18
· 55 commits to main since this release

Added support for declarative relationships between models using type annotations on the model classes. It uses two generic classes that take a type parameter that is the model that should be linked to the relationship.

  • LazyLoadEveryRelated loads all related models into a list
  • LazyLoadTheRelated loads a single related model

See the ReadMe for detailed explanations of the API.