Consider making CreateParameter methods as static on ParameterResource
Open
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
Assessment
This issue has not been assessed yet.