-
Notifications
You must be signed in to change notification settings - Fork 854
Obsolete ParameterResource.Value in favor of GetValueAsync and direct usage #10362
Copy link
Copy link
Closed
Copy link
Labels
area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationbreaking-changeIssue or PR that represents a breaking API or functional change over a prerelease.Issue or PR that represents a breaking API or functional change over a prerelease.
Milestone
Description
Following the changes implemented in PRs #10354, #10359, and #10361, the usage of ParameterResource.Value should be considered obsolete. Instead, consumers should use GetValueAsync or access the ParameterResource directly (e.g., when used in environment variables).
Action Items:
- Mark
ParameterResource.Valueas obsolete in the codebase. - Update documentation and code comments to recommend using
GetValueAsyncor theParameterResourcedirectly. - Audit internal usage and samples to ensure the new guidance is followed.
References:
Reactions are currently unavailable
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. DistributedApplicationbreaking-changeIssue or PR that represents a breaking API or functional change over a prerelease.Issue or PR that represents a breaking API or functional change over a prerelease.