Skip to content

Add `default_enabled_if_undefined:` to `Feat.enabled?` to use if no YAML

Kamil Trzciński requested to merge use-feature-undefined_enabled into master

What does this MR do and why?

Since all feature flags should YAML, and some of them might not the default_enabled_if_undefined: should be used in conjunction with type: :undefined to indicate that a given feature flag if missing should use the value of default_enabled_if_undefined:

Related:

MR acceptance checklist

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

Edited by Kamil Trzciński

Merge request reports