Skip to content

Obsolete ParameterResource.Value in favor of GetValueAsync and direct usage #10362

@davidfowl

Description

@davidfowl

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.Value as obsolete in the codebase.
  • Update documentation and code comments to recommend using GetValueAsync or the ParameterResource directly.
  • Audit internal usage and samples to ensure the new guidance is followed.

References:

Metadata

Metadata

Assignees

Labels

area-app-modelIssues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplicationbreaking-changeIssue or PR that represents a breaking API or functional change over a prerelease.

Type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions