# Manage tenant feature toggles via features.json
Within every Tenant code repository can exist a features.json
file that extends the default Marfeel Platform values of a feature toggle. This can be used to enable or disable a feature toggle for a specific tenant, effectively overriding the default Marfeel Platform values.
Some usage examples could be:
- Enable an experiment on a tenant
- Disable a rolled out feature for a specific tenant
The format of the tenant features.json
is exactly the same as the Marfeel features.json
and the same features json schema
(opens new window) is used during compile time for validation.
# Inheritance
As with all other json configuration files in the Marfeel Platform, a tenant features.json
extends a Marfeel features.json
file. At runtime the different SDKs will resolve the value of a certain feature toggle through the following chain (first that returns a value returns and stops the chain):
- cookie-sticky toggle
- Tenant
features.json
set via code or via MarfeeInsight UI - Marfeel default
features.json
value