-
Notifications
You must be signed in to change notification settings - Fork 733
Closed
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Milestone
Description
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:
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. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
