Repository navigation
[release/13.6] Fix TypeScript Bicep parameter expressions on enum Azure properties - #20767
Merged
Jose Perez Rodriguez (joperezr) merged 2 commits intoOct 23, 2026
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
|
🚀 Dogfood this PR with:
curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 20767Or
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 20767" |
David Fowler (davidfowl)
approved these changes
Oct 7, 2026
Eric Erhardt (eerhardt)
approved these changes
Oct 9, 2026
Jose Perez Rodriguez (joperezr)
merged commit Oct 23, 2026
c893527
into
release/13.6
59 checks passed
Contributor
Author
|
✅ No documentation update needed. excluded → head_branch_is_backport, title_release_prefix, body_backport_marker (base_branch_is_release as supporting context). This is a backport to release/13.6; docs belong to the original forward PR. Triggered signals: pr_body_has_user_facing_section (PR body "User-facing usage" section). |
This was referenced Oct 24, 2026
This was referenced Oct 26, 2026
Open
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 join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Backport of #20557 to release/13.6
Description
TypeScript AppHosts currently fail when
configureInfrastructureassigns abicep().parameter(...)expression to an enum-valued Azure provisioning property, such as a Storage SKU name. The generated TypeScript accepts the assignment, but publishing stops withA value of type String cannot be assigned to a BicepValue<StorageSkuName>.Allow string-backed Bicep expressions to flow into enum-valued properties without treating string literals as enum values. This preserves type checking for literals and for incompatible expression types. No public API or additional dependencies are introduced.
User-facing usage
/cc Sébastien Ros (@sebastienros)
Customer Impact
Publication failure.
Testing
Manual, deployed wit parameter.
Risk
Low
Regression?
New feature in 13.6