Debug interface for plugins that need to override flag values during development.
This interface provides methods to temporarily override flag values that take
precedence over the actual flag values from LaunchDarkly. These overrides are
useful for testing, development, and debugging scenarios.
This interface is experimental and intended for use by LaunchDarkly tools at this time.
The API may change in future versions.
An object containing all active overrides as key-value pairs,
where keys are flag keys and values are the overridden flag values.
Returns an empty object if no overrides are active.
removeOverride
removeOverride(flagKey): void
Remove an override value for a flag, reverting to the real flag value.
Parameters
flagKey: string
The flag key.
Returns void
setOverride
setOverride(flagKey, value): void
Set an override value for a flag that takes precedence over the real flag value.
Debug interface for plugins that need to override flag values during development. This interface provides methods to temporarily override flag values that take precedence over the actual flag values from LaunchDarkly. These overrides are useful for testing, development, and debugging scenarios.
This interface is experimental and intended for use by LaunchDarkly tools at this time. The API may change in future versions.