-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
add support for fetching feature flag payloads (#64)
* add support for fetching feature flag payloads * improve mock server handler readability * drying code * update decide fixtures * pr feedback
- Loading branch information
Showing
13 changed files
with
1,710 additions
and
65 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
{ | ||
"config": { | ||
"enable_collect_everything": true | ||
}, | ||
"editorParams": {}, | ||
"isAuthenticated": true, | ||
"supportedCompression": ["gzip", "gzip-js", "lz64"], | ||
"toolbarParams": {}, | ||
"featureFlags": { | ||
"enabled-flag": true, | ||
"group-flag": true, | ||
"disabled-flag": false, | ||
"multi-variate-flag": "hello", | ||
"simple-flag": true, | ||
"beta-feature": "decide-fallback-value", | ||
"beta-feature2": "variant-2", | ||
"false-flag-2": false, | ||
"test-get-feature": "variant-1", | ||
"continuation-flag": true | ||
}, | ||
"featureFlagPayloads": { | ||
"enabled-flag": "{\"foo\": 1}", | ||
"simple-flag": "{\"bar\": 2}", | ||
"continuation-flag": "{\"foo\": \"bar\"}", | ||
"beta-feature": "{\"foo\": \"bar\"}", | ||
"test-get-feature": "this is a string", | ||
"multi-variate-flag": "this is the payload" | ||
}, | ||
"sessionRecording": false, | ||
"errorsWhileComputingFlags": false, | ||
"capturePerformance": false, | ||
"autocapture_opt_out": true, | ||
"autocaptureExceptions": false, | ||
"analytics": { "endpoint": "/i/v0/e/" }, | ||
"__preview_ingestion_endpoints": true, | ||
"elementsChainAsString": true, | ||
"surveys": false, | ||
"heatmaps": false, | ||
"siteApps": [] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.