Feature Toggles

feature_toggles in @open-mercato/core

Global feature flags with tenant-level overrides.

Ships with Open Mercato 0.9.0

On in a new app. Nothing to enable.

In an app from the empty preset

yarn mercato module enable @open-mercato/core --module feature_toggles

Then run yarn generate. Core is already installed, so nothing is downloaded.

Anatomy

ADDS 2 TABLES · 3 PERMISSIONS

Data

  • feature_toggles
  • feature_toggle_overrides

API

Routes are not listed for built-in modules.

Security

feature_toggles.

  • view
  • manage
  • global.manage

UI

  • 5 backend pages

Background

  • 5 CLI commands

Not present: events, AI tools.

Not read: credentials and env, hosts (not in module-facts.v2.json).

From module-facts.v2.json in @open-mercato/cli 0.9.0. Read statically, not executed.