Skip to content

Allow Variable Symbol Access from within user defined functions - #14531

Merged
Tate Smalligan (tsmallig33) merged 9 commits into
mainfrom
tasmalligan/VariableAccessInUDF
Aug 27, 2024
Merged

Tate Smalligan (tsmallig33) merged 9 commits into
mainfrom
tasmalligan/VariableAccessInUDF

Conversation

@tsmallig33

@tsmallig33 Tate Smalligan (tsmallig33) commented Jul 11, 2024 •

Copy link
Copy Markdown
Member
  1. Allow variable access from within user defined functions
  2. Update Azure.Deployments.* to 1.65.0

Waiting on ARM/Deployments release before merging

Microsoft Reviewers: Open in CodeFlow

@github-actions

github-actions Bot commented Jul 11, 2024 •

Copy link
Copy Markdown
Contributor

Test this change out locally with the following install scripts (Action run 10581938824)

VSCode
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-vsix.sh) --run-id 10581938824
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-vsix.ps1) } -RunId 10581938824"
Azure CLI
  • Mac/Linux
    bash <(curl -Ls https://aka.ms/bicep/nightly-cli.sh) --run-id 10581938824
  • Windows
    iex "& { $(irm https://aka.ms/bicep/nightly-cli.ps1) } -RunId 10581938824"

@github-actions

github-actions Bot commented Jul 11, 2024 •

Copy link
Copy Markdown
Contributor

Dotnet Test Results

    72 files   -     36      72 suites   - 36   24m 54s ⏱️ - 8m 13s
11 050 tests  -     18  11 050 ✅  -     18  0 💤 ±0  0 ❌ ±0 
25 876 runs   - 12 928  25 876 ✅  - 12 928  0 💤 ±0  0 ❌ ±0 

Results for commit 57a0962. ± Comparison against base commit f5a2984.

♻️ This comment has been updated with latest results.

@tsmallig33
Tate Smalligan (tsmallig33) marked this pull request as ready for review July 11, 2024 18:10
@tsmallig33
Tate Smalligan (tsmallig33) marked this pull request as draft July 11, 2024 18:15
@tsmallig33 Tate Smalligan (tsmallig33) added the do not merge Do not merge this pull request yet. label Jul 11, 2024
@tsmallig33
Tate Smalligan (tsmallig33) marked this pull request as ready for review July 11, 2024 19:10
@jeskew
Jonny Eskew (jeskew) dismissed their stale review July 11, 2024 20:40

Clicked the wrong button

@tsmallig33 Tate Smalligan (tsmallig33) changed the title Tasmalligan/variable access in udf Tasmalligan/Allow Variable Symbol Access from within user defined functions and update Azure.Deployments.* to 1.65.0 Jul 15, 2024
@tsmallig33 Tate Smalligan (tsmallig33) changed the title Tasmalligan/Allow Variable Symbol Access from within user defined functions and update Azure.Deployments.* to 1.65.0 Allow Variable Symbol Access from within user defined functions and update Azure.Deployments.* to 1.65.0 Aug 8, 2024
@tsmallig33 Tate Smalligan (tsmallig33) changed the title Allow Variable Symbol Access from within user defined functions and update Azure.Deployments.* to 1.65.0 Allow Variable Symbol Access from within user defined functions Aug 27, 2024
@jeskew Jonny Eskew (jeskew) removed the do not merge Do not merge this pull request yet. label Aug 27, 2024
@tsmallig33
Tate Smalligan (tsmallig33) deleted the tasmalligan/VariableAccessInUDF branch August 27, 2024 16:16
Levi Muriuki (levimatheri) added a commit that referenced this pull request May 22, 2025
## Description

Offer completions for outer variables in user-defined functions. Support
for outer variables was added via
#14531.

## Checklist

- [x] I have read and adhere to the [contribution
guide](https://github.com/Azure/bicep/blob/main/CONTRIBUTING.md).

###### Microsoft Reviewers: [Open in
CodeFlow](https://microsoft.github.io/open-pr/?codeflow=https://github.com/Azure/bicep/pull/17198)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants