1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

fix: missing flags (#4214)

This commit is contained in:
Mateusz Kwasniewski 2023-07-11 10:27:42 +02:00 committed by GitHub
parent 58151d8d80
commit 92d43ed4f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 12 additions and 0 deletions

View File

@ -89,11 +89,13 @@ exports[`should create default config 1`] = `
},
},
"migrationLock": false,
"newProjectLayout": false,
"personalAccessTokensKillSwitch": false,
"proPlanAutoCharge": false,
"responseTimeWithAppNameKillSwitch": false,
"segmentContextFieldUsage": false,
"strategySplittedButton": false,
"strategyVariant": false,
"strictSchemaValidation": false,
},
},
@ -121,11 +123,13 @@ exports[`should create default config 1`] = `
},
},
"migrationLock": false,
"newProjectLayout": false,
"personalAccessTokensKillSwitch": false,
"proPlanAutoCharge": false,
"responseTimeWithAppNameKillSwitch": false,
"segmentContextFieldUsage": false,
"strategySplittedButton": false,
"strategyVariant": false,
"strictSchemaValidation": false,
},
"externalResolver": {

View File

@ -110,6 +110,14 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_CUSTOM_ROOT_ROLES,
false,
),
newProjectLayout: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_NEW_PROJECT_LAYOUT,
false,
),
strategyVariant: parseEnvVarBoolean(
process.env.UNLEASH_STRATEGY_VARIANT,
false,
),
};
export const defaultExperimentalOptions: IExperimentalOptions = {