Remove `Feature.persisted?` to simplify feature flag interface
The following discussion from !33178 (merged) should be addressed:
-
@dosuken123 started a discussion: (+3 comments) Is it possible to ban
Feature.persisted?
as well? This is problematic that it relies on Flipper schema, hence it's hard to extend with the other FF-engine. Also,persisted?
is very ambiguous. Should be explicit thatenabled_or_disabled_once
, but probably it's also confusing.Ideally, we should persist all flags by default, and explicitly set a default to the entry. See more !31610 (diffs, comment 350596464).
Edited by Kamil Trzciński