Skip to content

Commit

Permalink
feat: add STATIC, CACHED reasons (#136)
Browse files Browse the repository at this point in the history
Signed-off-by: Todd Baert <toddbaert@gmail.com>
  • Loading branch information
toddbaert authored Jan 16, 2023
1 parent 1c6c6bd commit ffdde63
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion pkg/openfeature/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@ const (
SplitReason Reason = "SPLIT"
// DisabledReason - the resolved value was the result of the flag being disabled in the management system.
DisabledReason Reason = "DISABLED"
// UnknownReason - the reason for the resolved value could not be determined.
// StaticReason - the resolved value is static (no dynamic evaluation)
StaticReason Reason = "STATIC"
// CachedReason - the resolved value was retrieved from cache
CachedReason Reason = "CACHED"
// UnknownReason - the reason for the resolved value could not be determined.
UnknownReason Reason = "UNKNOWN"
// ErrorReason - the resolved value was the result of an error.
ErrorReason Reason = "ERROR"
Expand Down

0 comments on commit ffdde63

Please sign in to comment.