Webiny Add Feature Flag

Adding a new feature flag to the Webiny system. Use this skill when creating a new feature flag (simple boolean or nested group), gating a feature at the config/admin/API level, or wiring a flag into the WCP license system. Covers IFeatureFlagsDto, KnownFeatureFlag, Zod schema, FeatureFlag.CanUse components, useFeatureFlags().isEnabled(), the API FeatureFlags abstraction, toDto(), and the LICENSE_CHECKS decorator pattern.

webiny 5033a4b 8.9 KB Updated

File contents

webiny/webiny-js commit 5033a4b3d7

Frequently asked questions

npx skillmds add webiny/webiny-add-feature-flag