Currently the engine emits DEFAULT whenever the evaluation result is the environment default flag.
This should be:
STATIC if there are no targeting rules configured for the feature
DEFAULT if there are targeting rules configured, but the evaluation doesn't match them
i.e. if there are segment overrides for a feature, but they don't match the identity we are evaluating for, then return DEFAULT. If there are no segment overrides, return STATIC.
See Resolution Reason.
Acceptance Criteria:
Currently the engine emits
DEFAULTwhenever the evaluation result is the environment default flag.This should be:
STATICif there are no targeting rules configured for the featureDEFAULTif there are targeting rules configured, but the evaluation doesn't match themi.e. if there are segment overrides for a feature, but they don't match the identity we are evaluating for, then return
DEFAULT. If there are no segment overrides, returnSTATIC.See Resolution Reason.
Acceptance Criteria:
reasonlogic in Flagsmith/flagsmith-go-client