mirror of
https://github.com/Unleash/unleash.git
synced 2024-12-22 19:07:54 +01:00
chore: add flag to experimental.ts (#5925)
This change adds the new changeRequestConflictHandling flag to Unleash.
This commit is contained in:
parent
2b1111044f
commit
bbaf574841
@ -78,6 +78,7 @@ exports[`should create default config 1`] = `
|
||||
"automatedActions": false,
|
||||
"caseInsensitiveInOperators": false,
|
||||
"celebrateUnleash": false,
|
||||
"changeRequestConflictHandling": false,
|
||||
"customRootRolesKillSwitch": false,
|
||||
"demo": false,
|
||||
"detectSegmentUsageInChangeRequests": false,
|
||||
|
@ -43,7 +43,8 @@ export type IFlagKey =
|
||||
| 'edgeBulkMetricsKillSwitch'
|
||||
| 'extendedUsageMetrics'
|
||||
| 'extendedUsageMetricsUI'
|
||||
| 'adminTokenKillSwitch';
|
||||
| 'adminTokenKillSwitch'
|
||||
| 'changeRequestConflictHandling';
|
||||
|
||||
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
|
||||
|
||||
@ -198,6 +199,10 @@ const flags: IFlags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_ADMIN_TOKEN_KILL_SWITCH,
|
||||
false,
|
||||
),
|
||||
changeRequestConflictHandling: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_CHANGE_REQUEST_CONFLICT_HANDLING,
|
||||
false,
|
||||
),
|
||||
};
|
||||
|
||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||
|
Loading…
Reference in New Issue
Block a user