Apply decorator once to a list of parameters
Open
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
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