The flag configuration contains a state property. This property can be either ENABLED or DISABLED according to the schema. This value is an enum and may contain additional states in the future.
If the state is ENABLED, flagD should behave like it does now. However, if the state is DISABLED, flagD should return an error stating that the flag is disabled. The OpenFeature SDK would catch this error and use the fallback value.
Requirements
The flag configuration contains a state property. This property can be either
ENABLED
orDISABLED
according to the schema. This value is an enum and may contain additional states in the future.If the state is
ENABLED
, flagD should behave like it does now. However, if the state isDISABLED
, flagD should return an error stating that the flag is disabled. The OpenFeature SDK would catch this error and use the fallback value.