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

Add an API to easily extract a resource's arguments #6644

Open
Alirexaa opened this issue Nov 11, 2024 · 0 comments · May be fixed by #6646
Open

Add an API to easily extract a resource's arguments #6644

Alirexaa opened this issue Nov 11, 2024 · 0 comments · May be fixed by #6646
Assignees
Labels
area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication
Milestone

Comments

@Alirexaa
Copy link
Contributor

Alirexaa commented Nov 11, 2024

We should add a method that makes it easy to get arguments for a resource, e.g.:

public static class ResourceExtensions
{
+   public static async ValueTask<IReadOnlyList<string>> GetArgumentListAsync(this IResourceWithArgs resource);
}
@Alirexaa Alirexaa linked a pull request Nov 11, 2024 that will close this issue
18 tasks
@joperezr joperezr added untriaged New issue has not been triaged area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication labels Nov 12, 2024
@joperezr joperezr added this to the Backlog milestone Nov 13, 2024
@joperezr joperezr removed the untriaged New issue has not been triaged label Nov 13, 2024
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

Successfully merging a pull request may close this issue.

3 participants