mz_dyncfg_launchdarkly

Function dyn_into_flag

Source
pub(crate) fn dyn_into_flag(val: ConfigVal) -> Result<FlagValue, Error>
Expand description

Converts a dyncfg ConfigVal into a LaunchDarkly FlagValue. Returns an error if the ConfigVal type isn’t supported by the FlagValue format.