Azure / Azure/bicep

Apply decorator once to a list of parameters

Open
#8,802 1 comment 0 reactions 0 assignees View on GitHub
enhancement Needs: Upvote
Dominant language
Bicep
Stars
3.6k
Forks
830
Avg merge
1d 2h
Merged PRs (30d)
79

Description

My main module takes a lot of secure parameters. Instead of having to do:
```
@secure()
param secretValueOne string
@secure()
param SecretValueTwo string
...
```

I want something like:
```
@secure(){
param secretValueOne string
param secretValueTwo string
...
}
```

It looks silly to repeat the secure decorator on each parameter when you have a large amount of parameters.

Contributor guide

Open the contributing guide

Research direction

Start with the existing @secure() decorator and parameter declaration syntax described in the issue. Define how a grouped decorator should apply to every listed parameter, then verify that the proposed example parses and preserves secure behavior for each parameter.

Written by the indexing model from the issue text.

Assessment

Domain
cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.