Skip to content

Add support for Bicep distinct and like functions - #3906

Open
Jerome Brown (oWretch) wants to merge 1 commit into
Azure:mainfrom
oWretch:owretch-bicep-functions-support
Open

Add support for Bicep distinct and like functions#3906
Jerome Brown (oWretch) wants to merge 1 commit into
Azure:mainfrom
oWretch:owretch-bicep-functions-support

Conversation

@oWretch

Copy link
Copy Markdown

PR Summary

  • Add support for the ARM/Bicep runtime distinct(...) function in expression expansion.
  • Add support for the ARM/Bicep runtime like(...) function in expression expansion.
  • Add direct function coverage and expression builder coverage for both functions.
  • Update the changelog.

Fixes #3905

Validation

  • dotnet test tests/PSRule.Rules.Azure.Tests/PSRule.Rules.Azure.Tests.csproj --filter "FullyQualifiedName~Arm.Expressions.FunctionTests|FullyQualifiedName~Arm.Expressions.ExpressionBuilderTests" /p:EnableSourceControlManagerQueries=false /p:PublishRepositoryUrl=false /p:EmbedUntrackedSources=false
  • Built Release module output as 1.48.0-B0230.
  • Installed locally over current-user 1.48.0-B0228.
  • Validated template expansion resolves distinct(...) and like(...) through the installed module.

Adds ARM expression evaluator support for distinct() and like() so Bicep-generated templates can expand these documented runtime functions.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@oWretch
Jerome Brown (oWretch) requested a review from a team as a code owner September 8, 2026 02:53
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.

[FEATURE] Add support for Bicep distinct and like functions

1 participant