FlagFix
Feature management

Flag types

BOOLEAN, STRING, NUMBER, and CONFIG.

Cette page n’a pas encore de traduction française. Le texte anglais fait foi.

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.

Cette page vous a-t-elle été utile ?