Repository navigation
Refine polyglot exports for Aspire.Hosting.Azure.Redis - #15010
Merged
Merged
Conversation
Co-authored-by: Copilot <[email protected]>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 15010Or
iex "& { $(irm https://raw.githubusercontent.com/dotnet/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 15010" |
Contributor
There was a problem hiding this comment.
Pull request overview
Improves polyglot (ATS) export surface for the Aspire.Hosting.Azure.Redis integration and updates the TypeScript validation app host + regenerated SDK to reflect the new exported properties/capabilities.
Changes:
- Export
AzureManagedRedisResourceproperties to polyglot app hosts ([AspireExport(ExposeProperties = true)]) while explicitly ignoring non-polyglot-friendly members. - Expand the TypeScript
ValidationAppHostto cover additional configuration paths and newly-exported properties. - Regenerate the TypeScript
.modules/aspire.tsSDK for the Azure Redis validation app host.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
| src/Aspire.Hosting.Azure.Redis/AzureManagedRedisResource.cs | Exposes resource properties to ATS and adds AspireExportIgnore for members not available to polyglot app hosts. |
| playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/apphost.ts | Updates the validation app host to exercise multiple Redis resources and exported properties. |
| playground/polyglot/TypeScript/Aspire.Hosting.Azure.Redis/ValidationAppHost/.modules/aspire.ts | Regenerated TS SDK reflecting updated export surface (new handles/types/properties). |
Contributor
🎬 CLI E2E Test RecordingsThe following terminal recordings are available for commit
📹 Recordings uploaded automatically from CI run #22775171920 |
| /// </summary> | ||
| /// <remarks>This property is not available in polyglot app hosts.</remarks> | ||
| [AspireExportIgnore] | ||
| public BicepOutputReference NameOutputReference => new("name", this); |
David Fowler (davidfowl)
approved these changes
Mar 7, 2026
Sébastien Ros (sebastienros)
merged commit Mar 7, 2026
320d85e
into
release/13.2
765 of 768 checks passed
Copilot AI
pushed a commit
that referenced
this pull request
Mar 10, 2026
Co-authored-by: Copilot <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description