[Breaking change]: IDistributedApplicationTestingBuilder
API change
#2616
Labels
⛓️💥 breaking-change
Issues or PRs tracking breaking changes.
doc-idea
Indicates issues that are suggestions for new topics [org][type][category]
in-pr
okr-freshness
OKR: Freshness of content
Pri1
High priority, do before Pri2 and Pri3
📌 seQUESTered
Identifies that an issue has been imported into Quest.
📦 release-9.1
Used to track doc updates for release 9.1 of .NET Aspire.
Description
In Aspire 9.1,
IDistributedApplicationTestingBuilder
was changed to inherit fromIDistributedApplicationBuilder
,IAsyncDisposable
, andIDisposable
.Version
Other (please put exact version in description textbox)
Previous behavior
Previously, it inherited from nothing.
New behavior
IDistributedApplicationTestingBuilder
was changed to inherit fromIDistributedApplicationBuilder
,IAsyncDisposable
, andIDisposable
.Type of breaking change
Reason for change
Methods accepting a parameter of type
IDistributedApplicationBuilder
now work withIDistributedApplicationTestingBuilder
, giving developers a consistent API surface.Recommended action
Recompile your code if necessary. If you are implementing
IDistributedApplicationTestingBuilder
yourself (which would be highly unusual), then you will need to implement the new interfaces also.Affected APIs
IDistributedApplicationTestingBuilder
Associated WorkItem - 373400
The text was updated successfully, but these errors were encountered: