🌐 AI搜索 & 代理 主页
Skip to content

Conversation

@AleksanderBodurri
Copy link
Member

Previously we depended on Angular DevTools specific logic to parse the underlying router tree from a router instance.

Now, Angular DevTools defers this logic to the framework, so that we can change implementation on the across framework versions as needed, and make way for similar debug APIs in Wiz.

There are test cases for the legacy implementation on the DevTools side and test cases for the framework implementation on the framework side.

Previously we depended on Angular DevTools specific logic to parse the underlying router tree from a router instance.

Now, Angular DevTools defers this logic to the framework, so that we can change implementation on the across framework versions as needed, and make way for similar debug APIs in Wiz.

There are test cases for the legacy implementation on the DevTools side and test cases for the framework implementation on the framework side.
@ngbot ngbot bot added this to the Backlog milestone Dec 8, 2025
): Route[] {
return children.map((child: AngularRoute) => {
const childName = childRouteName(child);
const loadedRoutes = (window as any).ng?.ɵgetLoadedRoutes?.(child as any);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we should rely on ngDebugClient

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants