Azure / Azure/azure-powershell
Breaking Change Warnings
- Dominant language
- C#
- Stars
- 4.8k
- Forks
- 4.3k
- Avg merge
- 2d 17h
- Merged PRs (30d)
- 51
Description
## Description of the new feature
Right now, any breaking changes are being displayed when a command is called. However, there seems to be no filter if this breaking change actually applies to the parameter-set being used.
The option provided in https://aka.ms/azps-changewarnings is too broad; this disables the warning mechanism completely
As a developer it would be nice to have those warnings only for parameters which i actually use during calling a commandlet. Alternatively, the ability to provide a parameter to suppress warnings for a certain command when i have assured myself that the breaking change is of no effect on my used command/parameter set
The constant display of warnings results in questions and second guessing the validity/freshness of the code within our organisation. Yet, disabling this might result in actually breaking code as no one is being warned.
## Proposed implementation details (optional)
### Preferably
detect if the breaking parameter/functionality is actually being used and only show warning if it applies
### Else
introduce a common parameter to disable warnings on a per command basis when it is being called
Contributor guide
Assessment
This issue has not been assessed yet.