Azure / Azure/autorest.powershell

Configuration to suppress specific parameter expansion

Open
#466 2 comments 0 reactions 0 assignees View on GitHub
discussion
Dominant language
C#
Stars
123
Forks
99
PR merge metrics
No merged PRs in 30d

Description

In certain situations, it makes sense to not expand a specific parameter for a cmdlet. We should allow a way (directive) to specify a parameter should not get expanded. For example:

```yaml
- where:
subject: RecordSet
parameter-name: SoaRecord
do-not-expand: true
```

The only problem is, the only way to know what the parameter name that you don't want to expand is by either inferring it by the expanded parameter names (if they aren't reduced) or looking through the model property hierarchy and figuring out the name that way. It could be complex given the situation.

Maybe, this is described better via the model/property. It really depends on what makes sense to do.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.