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

chore: change request playground flag (#7707)

This commit is contained in:
Mateusz Kwasniewski 2024-07-31 11:38:55 +02:00 committed by GitHub
parent 6170d10e62
commit 126dff2344
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 8 additions and 1 deletions

View File

@ -82,6 +82,7 @@ exports[`should create default config 1`] = `
"automatedActions": false,
"caseInsensitiveInOperators": false,
"celebrateUnleash": false,
"changeRequestPlayground": false,
"cleanApiTokenWhenOrphaned": false,
"collectTrafficDataUsage": false,
"commandBarUI": false,

View File

@ -72,7 +72,8 @@ export type IFlagKey =
| 'featureCollaborators'
| 'improveCreateFlagFlow'
| 'originMiddleware'
| 'newEventSearch';
| 'newEventSearch'
| 'changeRequestPlayground';
export type IFlags = Partial<{ [key in IFlagKey]: boolean | Variant }>;
@ -349,6 +350,10 @@ const flags: IFlags = {
process.env.UNLEASH_EXPERIMENTAL_NEW_EVENT_SEARCH,
false,
),
changeRequestPlayground: parseEnvVarBoolean(
process.env.UNLEASH_EXPERIMENTAL_CHANGE_REQUEST_PLAYGROUND,
false,
),
};
export const defaultExperimentalOptions: IExperimentalOptions = {

View File

@ -62,6 +62,7 @@ process.nextTick(async () => {
improveCreateFlagFlow: true,
originMiddleware: true,
newEventSearch: true,
changeRequestPlayground: true,
},
},
authentication: {