Skip to content

Deprecate GraphQL `feature_flag` argument

Luke Duncalfe requested to merge 369202-deprecate-feature_flag-property into master

What does this MR do and why?

This is a first iteration of #369202 (closed) which documents that the feature_flag property is deprecated and should no longer be used. The property is renamed to _deprecated_feature_flag so developers are aware even if they have not read the docs.

The developer docs are updated. The update also includes new advice for using flags with schema items besides fields, and where the flag is used to toggle behavior.

There should be no functional changes.

Future iterations will replace each use of _deprecated_feature_flag with a feature flag toggle, and the alpha property if the flag is disabled by default.

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #369202 (closed)

Edited by Luke Duncalfe

Merge request reports