FeatureFlagDecision
Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:45
Detailed result of a feature-flag evaluation, recorded on the pipeline context so logging/audit/telemetry or later behaviors can inspect the exact provider decision without re-evaluating the flag.
Properties
Section titled “Properties”enabled
Section titled “enabled”enabled:
boolean
Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:51
Final gate decision after optional variant filtering.
errorCode?
Section titled “errorCode?”
optionalerrorCode?:string
Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:57
OpenFeature provider error code, if evaluation failed.
errorMessage?
Section titled “errorMessage?”
optionalerrorMessage?:string
Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:59
Provider error message, if evaluation failed.
flagKey
Section titled “flagKey”flagKey:
string
Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:47
Evaluated OpenFeature flag key.
reason?
Section titled “reason?”
optionalreason?:string
Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:55
OpenFeature resolution reason, when reported by the provider.
targetingKey?
Section titled “targetingKey?”
optionaltargetingKey?:string
Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:61
Stable targeting key used for this evaluation, if one was supplied.
value:
boolean
Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:49
Raw boolean value returned by OpenFeature (or its configured default value).
variant?
Section titled “variant?”
optionalvariant?:string
Defined in: packages/pipeline-feature-flags/src/interfaces/feature-flags-options.interface.ts:53
Provider-selected variant, when the provider reports one.