Context
Part of open-feature/flagd#1965. ADR: docs/architecture-decisions/disabled-flag-evaluation.md
The flagd-core library (tools/flagd-core) replicates the flagd evaluation logic in-process. Today it returns an error for disabled flags. It should return a successful result with reason=DISABLED and no value/variant, matching the updated flagd core behavior.
Changes
Context
Part of open-feature/flagd#1965. ADR: docs/architecture-decisions/disabled-flag-evaluation.md
The
flagd-corelibrary (tools/flagd-core) replicates the flagd evaluation logic in-process. Today it returns an error for disabled flags. It should return a successful result withreason=DISABLEDand no value/variant, matching the updated flagd core behavior.Changes
FlagdCore: when a flag hasstate: DISABLED, returnreason=DISABLEDwith value and variant omitted