Skip to content

Commit 7348285

Browse files
committed
chore: add public static openFeatureEvalReason method to EvalReason struct
1 parent 261ee72 commit 7348285

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

DevCycle/Models/UserConfig.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,10 @@ public struct EvalReason {
232232
static func defaultReason(details: String) -> EvalReason {
233233
return EvalReason(reason: "DEFAULT", details: details)
234234
}
235+
236+
public static func openFeatureEvalReason(reason: String) -> EvalReason {
237+
return EvalReason(reason: reason, details: "")
238+
}
235239
}
236240

237241
public typealias EvalMetaData = [String: Any]

0 commit comments

Comments
 (0)