-
Notifications
You must be signed in to change notification settings - Fork 3.4k
Opt in to breaking changes #32882
Copy link
Copy link
Open
Labels
Auto-AssignAuto assign by botAuto assign by botCoreCLI core infrastructureCLI core infrastructureService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Metadata
Metadata
Assignees
Labels
Auto-AssignAuto assign by botAuto assign by botCoreCLI core infrastructureCLI core infrastructureService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.act-codegen-extensibility-squadcustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.
Related command
For example:
Is your feature request related to a problem? Please describe.
Running a
postgres flexible-serversubcommand with a--nameargument produces a warning such as:I've written some automation for my team that drives the Azure CLI and other commands.
There doesn't appear to be any action I can take to future proof my script and explicitly opt in to the new argument handling. This confuses users of my script who see the warning and think something is wrong.
Describe the solution you'd like
It would be useful to have a global flag that allows me to opt in to a particular future breaking change version. This would allow for a graceful transition of automation using the Azure CLI and allow scripts to be forward compatible with the new breaking version at its time of release.
Describe alternatives you've considered
Currently, I have to:
Additional context
The particular changes I'm affected by were introduced in #32560, but this applies generally to all breaking changes.