FlagFix
Feature management

Flag types

BOOLEAN, STRING, NUMBER, and CONFIG.

Last updated on

Choose one of these types when you create the flag:

TypeStores a valueSchemaSDK read
BOOLEANNoNohasFeature / enabled
STRINGYesNogetValue
NUMBERYesNogetValue
CONFIGYesYesgetValue returns the JSON value

BOOLEAN drafts reject a stored value. The other types require a JSON value that matches the type. CONFIG is the only type that allows a schema document.

The public evaluation response may omit reason and variant. Do not parse those fields from a browser response. The server evaluation (evaluate, evaluate-all) includes them.

Was this page useful?