diff --git a/src/lib/__snapshots__/create-config.test.ts.snap b/src/lib/__snapshots__/create-config.test.ts.snap index 09ec2bbae2..03bcaee127 100644 --- a/src/lib/__snapshots__/create-config.test.ts.snap +++ b/src/lib/__snapshots__/create-config.test.ts.snap @@ -71,6 +71,7 @@ exports[`should create default config 1`] = ` "caseInsensitiveInOperators": false, "cleanClientApi": false, "demo": false, + "disableBulkToggle": false, "embedProxy": true, "embedProxyFrontend": true, "featuresExportImport": true, @@ -100,6 +101,7 @@ exports[`should create default config 1`] = ` "caseInsensitiveInOperators": false, "cleanClientApi": false, "demo": false, + "disableBulkToggle": false, "embedProxy": true, "embedProxyFrontend": true, "featuresExportImport": true, diff --git a/src/lib/types/experimental.ts b/src/lib/types/experimental.ts index 6d0b157f4c..d9f04590b3 100644 --- a/src/lib/types/experimental.ts +++ b/src/lib/types/experimental.ts @@ -94,6 +94,10 @@ const flags: IFlags = { process.env.UNLEASH_VARIANT_METRICS, false, ), + disableBulkToggle: parseEnvVarBoolean( + process.env.DISABLE_BULK_TOGGLE, + false, + ), }; export const defaultExperimentalOptions: IExperimentalOptions = {