Skip to content

[release/9.1] Add WithParentRelationship overload accepting an IResourceBuilder - #7616

Merged
William Godbe (wtgodbe) merged 1 commit into
release/9.1from
backport/pr-7615-to-release/9.1
Feb 14, 2025
Merged

William Godbe (wtgodbe) merged 1 commit into
release/9.1from
backport/pr-7615-to-release/9.1

Conversation

@github-actions

@github-actions github-actions Bot commented Feb 14, 2025 •

Copy link
Copy Markdown
Contributor

Backport of #7615 to release/9.1

/cc Eric Erhardt (@eerhardt)

Customer Impact

It is clunky to call WithParentRelationship today because it takes just an IResource parent, when callers normally have the IResourceBuilder<T> that they are working with. Adding an overload that takes the builder to resolve this ergononmic issue with the API.

Testing

Existing tests were converted to the new API. Everything still works.

Risk

Very low. Just adding a new overload to a new method.

Regression?

No

@wtgodbe
William Godbe (wtgodbe) merged commit 62d4086 into release/9.1 Feb 14, 2025
@wtgodbe
William Godbe (wtgodbe) deleted the backport/pr-7615-to-release/9.1 branch February 14, 2025 19:30
@github-actions github-actions Bot added the area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication label Mar 10, 2025
@github-actions github-actions Bot locked and limited conversation to collaborators Apr 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

area-app-model Issues pertaining to the APIs in Aspire.Hosting, e.g. DistributedApplication

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants