There was a regression in https://github.com/dotnet/aspire/pull/6261. The children collection on a span view model wasn't populated, which prevented the collapse button from being displayed.
Fixed, and a test added.
Checklist
Is this feature complete?
[x] Yes. Ready to ship.
[ ] No. Follow-up changes expected.
Are you including unit tests for the changes and scenario tests if relevant?
[x] Yes
[ ] No
Did you add public API?
[ ] Yes
If yes, did you have an API Review for it?
[ ] Yes
[ ] No
Did you add <remarks /> and <code /> elements on your triple slash comments?
[ ] Yes
[ ] No
[x] No
Does the change make any security assumptions or guarantees?
[ ] Yes
If yes, have you done a threat model and had a security review?
[ ] Yes
[ ] No
[x] No
Does the change require an update in our Aspire docs?
Description
There was a regression in https://github.com/dotnet/aspire/pull/6261. The children collection on a span view model wasn't populated, which prevented the collapse button from being displayed.
Fixed, and a test added.
Checklist
<remarks />
and<code />
elements on your triple slash comments?Does the change require an update in our Aspire docs?
breaking-change
template):doc-idea
template):Microsoft Reviewers: Open in CodeFlow