We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 938572d + ed908ed commit e49d05bCopy full SHA for e49d05b
Sources/Vexil/Observability/FlagWigwag.swift
@@ -39,6 +39,11 @@ public struct FlagWigwag<Output>: Sendable where Output: FlagValue {
39
/// The default value for this flag
40
public let defaultValue: Output
41
42
+ /// The current resolved value of this flag
43
+ public var value: Output {
44
+ lookup.value(for: keyPath) ?? defaultValue
45
+ }
46
+
47
/// A human readable name for the flag. Only visible in flag editors like Vexillographer.
48
public let name: String
49
0 commit comments