Skip to content

Dashboard only allows for one level of nested children #7580

@eerhardt

Description

@eerhardt

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

With more complex resources, like CosmosDB, ServiceBus, etc., they have 2 levels of child resources.

var cosmos = builder.AddAzureCosmosDB("cosmos")
                .RunAsPreviewEmulator(e => e.WithDataExplorer());

var db = cosmos.AddCosmosDatabase("db");

var entries = db.AddContainer("entries", "/id");

cosmos is the parent of db is the parent of entries.

However, in the dashboard both entries and db show up as direct children of cosmos:

Image

Expected Behavior

We should make entries a child of db.

Steps To Reproduce

Run an AppHost with the above code and view the dashboard.

Exceptions (if any)

No response

.NET Version info

No response

Anything else?

cc @JamesNK

Metadata

Metadata

Assignees

Labels

area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions