narrow-psychiatrist-15437
04/20/2022, 1:44 PM<https://cdn.growthbook.io/api/features/[key]>
)?
Is it safe to assume that defaultValue
is always set to null
for a disabled feature?enabled
boolean property, and include the rules
array for all feature flags, regardless if they're enabled or not.future-teacher-7046
{"defaultValue": null}
with no rules. However, it's possible for a feature to be "enabled" in the environment, but still have the default value set to null and no rules.narrow-psychiatrist-15437
04/20/2022, 4:38 PMdefaultValue
then, and always make sure to set a default value for enabled features.
We're integrating Growthbook with Sanity Studio to be able to deploy A/B tests without pushing any code. To avoid having to copy-paste the name of a feature flag from Growthbook to Sanity, I'm creating a custom select component that is pre-populated with the currently enabled feature flags.future-teacher-7046
null
anyway, so the behavior is the same).careful-planet-92513
04/20/2022, 5:33 PMnarrow-psychiatrist-15437
04/21/2022, 8:52 AMfuture-teacher-7046
careful-planet-92513
05/02/2022, 11:17 PM