File tree Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Expand file tree Collapse file tree 2 files changed +11
-2
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,7 @@ type AdvancedConfig struct {
8989 FlagsSpecVersion string
9090 LargeSegment * LargeSegmentConfig
9191 RulesConfig * RulesConfig
92+ FallbackTreatment FallbackTreatmentConf
9293}
9394
9495type LargeSegmentConfig struct {
@@ -105,3 +106,13 @@ type RulesConfig struct {
105106 FeatureFlagRules []string
106107 RuleBasedSegmentRules []string
107108}
109+
110+ type FallbackTreatmentConf struct {
111+ GlobalFallbackTreatment * FallbackTreatmentForConf
112+ ByFlagFallbackTreatment map [string ]FallbackTreatmentForConf
113+ }
114+
115+ type FallbackTreatmentForConf struct {
116+ Treatment string
117+ Config * string
118+ }
Original file line number Diff line number Diff line change @@ -19,8 +19,6 @@ github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZb
1919github.com/pmezard/go-difflib v1.0.0 /go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4 =
2020github.com/redis/go-redis/v9 v9.0.4 h1:FC82T+CHJ/Q/PdyLW++GeCO+Ol59Y4T7R4jbgjvktgc =
2121github.com/redis/go-redis/v9 v9.0.4 /go.mod h1:WqMKv5vnQbRuZstUwxQI195wHy+t4PuXDOjzMvcuQHk =
22- github.com/splitio/go-toolkit/v5 v5.4.1-0.20250930172659-38274b802d99 h1:rQo355F9JbdyTMz2X5MU+FeRvkT6rvD1n+GnXdJr33A =
23- github.com/splitio/go-toolkit/v5 v5.4.1-0.20250930172659-38274b802d99 /go.mod h1:SifzysrOVDbzMcOE8zjX02+FG5az4FrR3Us/i5SeStw =
2422github.com/splitio/go-toolkit/v5 v5.4.1 h1:srTyvDBJZMUcJ/KiiQDMyjCuELVgTBh2TGRVn0sOXEE =
2523github.com/splitio/go-toolkit/v5 v5.4.1 /go.mod h1:SifzysrOVDbzMcOE8zjX02+FG5az4FrR3Us/i5SeStw =
2624github.com/stretchr/objx v0.5.2 h1:xuMeJ0Sdp5ZMRXx/aWO6RZxdr3beISkG5/G/aIRr3pY =
You can’t perform that action at this time.
0 commit comments