You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Allow specifying depth of ITopicRepository.Load() #120
Replace the isRecursive: bool parameter on ITopicRepository.Load() with depth: int, because hierarchical navigation (e.g., rendering a navigation menu from a root several tiers deep) needs precise control over how much of the tree to pull. A full recursive load of the root would force the whole graph to load, defeating the purpose of lazy loading, so the goal is load exactly the region of the graph needed.
Tasks
C# API (depth replaces isRecursive across Load() and IsLoaded() stub modeling, tests)
SQL @Depth parameter on LoadTopics stored procedure w/ recursive CTE
This replaces existing @LoadDescendants and @LoadChildren parameters
Allow CachedTopicRepository's existing "sufficiency gate" (i.e., ConvergeLoadState() to be depth-aware
Sequentialize the HierarchicalTopicMappingService child crawl
This fixes the nondeterministic menu ordering and unsynchronized modification of the graph
Make IsVisible()'s IsHidden and IsDisabled checks non-autoloading
These currently trigger unnecessary loading of ExtendedAttributes and references tree traversal
Activity
CachedTopicRepository#111TopicIndexcache #116Merge pull request #145 from OnTopicCMS/feature/ITopicRepository-lazy…
JeremyCaney commentedon Aug 8, 2026
depthreplacesisRecursiveacrossLoad()andIsLoaded()stub modeling, tests)Load()to takedepthnotisRecursive(f09a43a)IsLoaded()to takedepth(d370604)DepthtoTopicLoadEventArgs(28a9431)Load(…, depth)(5f1a815)Load(…, depth)(33e36c4)Load(uniqueKey, …)(ca8bb8f)depth> 1 (88160a4, 24aba97)@Depthparameter onLoadTopicsstored procedure w/ recursive CTE@LoadDescendantsand@LoadChildrenparameters@Depthparameter toGetTopicssproc (d2c405e)ParentID(ce39fa1)CachedTopicRepository's existing "sufficiency gate" (i.e.,ConvergeLoadState()to be depth-awareITopicLazyLoadable.IsLoaded(payload, depth)Load()to takedepthinstead ofisRecursive(f09a43a)IsLoaded()to takedepth(d370604)HierarchicalTopicMappingServicechild crawlIsVisible()'sIsHiddenandIsDisabledchecks non-autoloadingIsVisibleandIsHiddendon't trigger autoload (36f6b5f)BaseTopic(a13cf8a)autoLoadandGetBoolean()was preiously implemented (aecee85, 42495b9, f94932d)