microsoft / microsoft/aspire

Consider making CreateParameter methods as static on ParameterResource

Open
#9,362 2 comments 1 reaction 0 assignees View on GitHub
area-app-model
Dominant language
C#
Stars
6.3k
Forks
991
Avg merge
2d 15h
Merged PRs (30d)
196

Description

See the conversation at https://github.com/dotnet/aspire/pull/8736#discussion_r2080836903

These 3 methods on ParameterResourceBuilderExtensions:

https://github.com/dotnet/aspire/blob/86e1f2a11889a92fffbe7f733f09ecf8d3ef4cd9/src/Aspire.Hosting/ParameterResourceBuilderExtensions.cs#L227-L317

Could be moved to static methods on ParameterResource itself:

https://github.com/dotnet/aspire/blob/8929f2f1d497ae37c6142b021983be6f9971e5fa/src/Aspire.Hosting/ApplicationModel/ParameterResource.cs#L9

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.