Make `Feature.enabled?` to use `default_enabled: :yaml` by default
What does this MR do and why?
This makes Feature.enabled?
to read feature flags by default
from YAML, and raise exception for unknown feature flags.
This is first step towards getting rid of default_enabled:
completely.
Related:
- #30228 (comment 760876708)
- Read this as well: !60923 (comment 598287437)
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.
Edited by Kamil Trzciński (Back 2025-01-01)