Skip to content

Reject calls to feature flag create with version

Andrew Fontaine requested to merge afontaine/feature-flag-version-param into master

What does this MR do and why?

This is behind the feature flag remove_feature_flag_version_param so we can toggle it on during the breaking change window.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

Before After

How to set up and validate locally

  1. Enable the remove_feature_flag_version_param feature flag.
  2. Attempt to create and edit a feature flag via the UI
  3. Attempt to create and edit a feature flag via the API

Expect API calls to fail if the version param is included, but succeed when it is left out.

Part of #333460

Edited by Andrew Fontaine

Merge request reports