Files
insights-go/fixtures/feature_flag/test-condition-order.json
Andy ZhaoandGitHub b7a9a168ad fix: don't sort condition sets with variant overrides to top (#127)
* fix: don't sort condition sets with variant overrides to top

* update version and changelog
2025-09-22 16:17:39 -04:00

46 lines
1.7 KiB
JSON

{
"count": 1,
"next": null,
"previous": null,
"flags": [
{
"id": 720,
"name": "Order Test Feature",
"key": "order-test-flag",
"filters": {
"groups": [
{
"rollout_percentage": 100.0,
"variant": "first-condition"
},
{
"properties": [{"key": "email", "type": "person", "value": "@vip.com", "operator": "icontains"}],
"rollout_percentage": 100.0,
"variant": "vip-variant"
},
{
"properties": [{"key": "email", "type": "person", "value": "[email protected]", "operator": "exact"}],
"rollout_percentage": 100.0,
"variant": "specific-email-variant"
}
],
"multivariate": {
"variants": [
{"key": "first-condition", "name": "First Condition", "rollout_percentage": 33},
{"key": "vip-variant", "name": "VIP Variant", "rollout_percentage": 33},
{"key": "specific-email-variant", "name": "Specific Email", "rollout_percentage": 34}
]
},
"payloads": {
"first-condition": "{\"order\": 1}",
"vip-variant": "{\"order\": 2}",
"specific-email-variant": "{\"order\": 3}"
}
},
"deleted": false,
"active": true,
"is_simple_flag": false,
"rollout_percentage": null
}
]
}