From 862e9e2a9535930c1f84d9cc35a7b543b059c415 Mon Sep 17 00:00:00 2001 From: Aleksandras Maliuginas Date: Thu, 26 Mar 2026 13:53:58 +0200 Subject: [PATCH] feat: Add targeting match split reason Signed-off-by: Aleksandras Maliuginas Made-with: Cursor --- openfeature/provider.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/openfeature/provider.go b/openfeature/provider.go index c97b6675..48148db1 100644 --- a/openfeature/provider.go +++ b/openfeature/provider.go @@ -11,6 +11,8 @@ const ( DefaultReason Reason = "DEFAULT" // TargetingMatchReason - the resolved value was the result of a dynamic evaluation, such as a rule or specific user-targeting. TargetingMatchReason Reason = "TARGETING_MATCH" + // TargetingMatchSplitReason - the resolved value was the result of a dynamic evaluation that resolves to a percentage split. + TargetingMatchSplitReason Reason = "TARGETING_MATCH_SPLIT" // SplitReason - the resolved value was the result of pseudorandom assignment. SplitReason Reason = "SPLIT" // DisabledReason - the resolved value was the result of the flag being disabled in the management system.