Commit f7fc6ff
committed
Extended 'validationDelegate
There is no scenario where we expect a `List` topic to be included in the navigation—or, generally, for the children of `List` topics to be included, and especially since a `List` cannot be navigated to. If we did, that would be a highly specialized scenario, and would necessitate a custom `validationDelegate()` to handle that logic. As such, we should strip `List` topics out of the default `MenuViewComponentBase<T>` so that they don't need to be explicitly filtered out at the view level, as they are today.
(This also makes a minimal gain in terms of memory and performance since these unnecessary topics don't need to be mapped or cached in memory. That's likely negligible, of course.) to remove List` topics1 parent 2c5b687 commit f7fc6ff
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
102 | 102 | | |
103 | 103 | | |
104 | 104 | | |
105 | | - | |
| 105 | + | |
106 | 106 | | |
107 | 107 | | |
108 | 108 | | |
| |||
0 commit comments