Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 2
Support lazy-loading in CachedTopicRepository #111
Copy link
Copy link
Open
Copy link
Labels
Area: RepositoriesRelates to the `ITopicRepository` interface or one of its implementations.Relates to the `ITopicRepository` interface or one of its implementations.Priority: 1Severity 2: MajorStatus 2: ScheduledPlanned for an upcoming release.Planned for an upcoming release.Type: FeatureIntroduces a major area of functionality.Introduces a major area of functionality.
Milestone
Description
Metadata
Metadata
Assignees
Labels
Area: RepositoriesRelates to the `ITopicRepository` interface or one of its implementations.Relates to the `ITopicRepository` interface or one of its implementations.Priority: 1Severity 2: MajorStatus 2: ScheduledPlanned for an upcoming release.Planned for an upcoming release.Type: FeatureIntroduces a major area of functionality.Introduces a major area of functionality.
Instead of eagerly loading the entire topic tree, as we currently do, instead update the
CachedTopicRepositoryto support dynamically loading children, relationships, and potentially even extended attributes as requested.Notes
IsFullyLoadedproperties into aLoadStateenum with e.g.,None,Fully, andPartiallySqlTopicRepository:RangeLeft-RangeRightis 1, it'sChildrencollection'sLoadStatecan be set toFullyLoad()or the cache, we can use their presence and matches to setLoadStatefor the relationshipsIncomingRelationshipsisRecursiveargument to deep load an entire treeRoot:Configurationsection, since it has a lot of internal cross-referencesSampleActivator, not in the repositories themselves