Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Parent/child relationships doesn't visualise for non-container parents #8020

Open
1 task done
aaronpowell opened this issue Mar 12, 2025 · 0 comments
Open
1 task done
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication

Comments

@aaronpowell
Copy link
Contributor

Is there an existing issue for this?

  • I have searched the existing issues

Describe the bug

I'm configuring parent/child relationships with resources and I've noticed that if a parent resource isn't a container resource then it doesn't nest in the dashboard.

Take this picture as an example:

Image

Notice that the sqlite-sqliteweb resource states that sqlite is its parent but doesn't appear nested.

Expected Behavior

Nesting is displayed per the relationship.

Steps To Reproduce

Change can be found in this PR: CommunityToolkit/Aspire#563

Run the SQLite example app.

Exceptions (if any)

No response

.NET Version info

No response

Anything else?

The SqliteWebResource is a ContainerResource whereas SqliteResource just inherits from Resource.

If you flip the relationship and make SqliteResource a child of SqliteWebResource it then does show correctly.

@github-actions github-actions bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Mar 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Projects
None yet
Development

No branches or pull requests

1 participant