mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
Allow feature flag state configuration via application settings (#2963)
* Allow feature flag state configuration via application settings * Use string values for flags * Update src/Core/Services/Implementations/LaunchDarklyFeatureService.cs Remove useless `ToString()`. Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com> --------- Co-authored-by: Justin Baur <19896123+justindbaur@users.noreply.github.com>
This commit is contained in:
@ -545,5 +545,6 @@ public class GlobalSettings : IGlobalSettings
|
||||
{
|
||||
public string SdkKey { get; set; }
|
||||
public string FlagDataFilePath { get; set; } = "flags.json";
|
||||
public Dictionary<string, string> FlagValues { get; set; } = new Dictionary<string, string>();
|
||||
}
|
||||
}
|
||||
|
@ -4,4 +4,5 @@ public interface ILaunchDarklySettings
|
||||
{
|
||||
public string SdkKey { get; set; }
|
||||
public string FlagDataFilePath { get; set; }
|
||||
public Dictionary<string, string> FlagValues { get; set; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user