{# canonical_base is the OWNING tenant's origin: all 16 Peasy domains serve the same catalogue, so a page rendered by a non-owner points its canonical at the owner instead of competing with it. Falls back to this site for static/self-owned pages. #}
🍋
Menu
Developer

Feature Flag

Feature Flag (Feature Toggle)

A configuration switch that enables or disables features at runtime without deploying new code, used for gradual rollouts and A/B testing.

Detalle técnico

Feature Flag uses indentation (spaces only, no tabs) for structure, making it visually clean but whitespace-sensitive. It supports anchors (&) and aliases (*) for node reuse, multi-line strings with | (literal) and > (folded) indicators, and complex key types. YAML 1.2 is a strict superset of JSON — any valid JSON is valid YAML. Security note: YAML parsers can execute arbitrary code via the !!python/object tag; use safe_load() in production.

Ejemplo

```javascript
// Feature Flag example
const input = 'sample data';
const result = process(input);
console.log(result);
```

Herramientas relacionadas

Términos relacionados