mirror of
https://github.com/Unleash/unleash.git
synced 2025-02-09 00:18:00 +01:00
feat: add API pagination feature flag (#3417)
https://linear.app/unleash/issue/2-826/add-pagination-feature-flag Adds `apiPagination` feature flag in order to start https://linear.app/unleash/project/[med][m][none]-api-filter-and-pagination-support-29ef4909dd2e/2
This commit is contained in:
parent
4562727580
commit
2a4ef56935
@ -69,6 +69,7 @@ exports[`should create default config 1`] = `
|
||||
"flags": {
|
||||
"ENABLE_DARK_MODE_SUPPORT": false,
|
||||
"anonymiseEventLog": false,
|
||||
"apiPagination": false,
|
||||
"bulkOperations": false,
|
||||
"caseInsensitiveInOperators": false,
|
||||
"cleanClientApi": false,
|
||||
@ -96,6 +97,7 @@ exports[`should create default config 1`] = `
|
||||
"experiments": {
|
||||
"ENABLE_DARK_MODE_SUPPORT": false,
|
||||
"anonymiseEventLog": false,
|
||||
"apiPagination": false,
|
||||
"bulkOperations": false,
|
||||
"caseInsensitiveInOperators": false,
|
||||
"cleanClientApi": false,
|
||||
|
@ -81,6 +81,10 @@ const flags = {
|
||||
process.env.UNLEASH_EXPERIMENTAL_OPTIMAL_304_DIFFER,
|
||||
false,
|
||||
),
|
||||
apiPagination: parseEnvVarBoolean(
|
||||
process.env.UNLEASH_EXPERIMENTAL_API_PAGINATION,
|
||||
false,
|
||||
),
|
||||
};
|
||||
|
||||
export const defaultExperimentalOptions: IExperimentalOptions = {
|
||||
|
Loading…
Reference in New Issue
Block a user