This codemod replaces openFeature compatible feature flags with a static value provided by the user.
Codemod replaces following SDK calls: getBooleanValue, getStringValue, getNumberValue, getObjectValue.
The codemod accepts the following arguments:
- key: The key of the feature flag to be replaced.
- value: The value to replace the feature flag with.
Example
Before
ts
After
ts