Skip to content

r.toggleable(...)

r.toggleable({ default }) — declares the feature operator-switchable via the feature-toggles bundled feature; default is the effective state when no global-toggle row exists. At most once per feature. Don’t declare it on always-on core features (auth, tenant, user) — that is a bug, and nothing catches it at boot.


From packages/framework/src/engine/feature-ast/patterns.ts -> ToggleablePattern