Fix WithReference to only use IResourceWithEndpoints#14254
Fix WithReference to only use IResourceWithEndpoints#14254Falco20019 wants to merge 6 commits intodotnet:mainfrom
Conversation
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 14254Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 14254" |
|
Breaking change no? |
|
As the other interface inherits it, I wouldn't think so. I can't see the unit tests here in GitHub Actions right now and won't be near a PC before Monday. If they still work, it shouldn't be breaking. |
Ok, now I understand what you meant. It's not clashing with |
…urceWithServiceDiscovery
|
I sadly don't get it to compile locally on macOS with Docker Desktop following https://github.com/dotnet/aspire/blob/main/docs/machine-requirements.md Neither through DevContainers nor natively as I think offering https://dev.azure.com/dnceng-public/public/_build/results?buildId=1276039&view=results seems to hint that no tests have been executed by the CI, is that normal? |
|
@davidfowl Should be non-breaking now. |
Description
This allows to use
ContainerResourcewithWithReference. Currently the interface enforcesIResourceWithServiceDiscoverywhile internally only using/needingIResourceWithEndpoints. For backwards compatibility I will leave the original ones although redundant.Fixes #10286
Checklist
<remarks />and<code />elements on your triple slash comments?doc-ideatemplatebreaking-changetemplatediagnostictemplate