You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In continue of OpenFeature PR, it is a common practice to evaluate a boolean/gate with a default value:
BooleanEvaluation(ctx context.Context, flag string, defaultValue bool, evalCtx of.FlattenedContext)
Problem
BooleanEvaluation with default value true cannot fallback to true.
On scenarios such as get gate of non-existing gate, statsig returns false without indication of whether it was successful get gate or some error reason. Therefore, the evaluation will be evaluated to false in this case.
Suggested solution
Similar to dynamic config function GetString(key string, fallback string), add:
Background
In continue of OpenFeature PR, it is a common practice to evaluate a boolean/gate with a default value:
Problem
BooleanEvaluation with default value true cannot fallback to true.
On scenarios such as get gate of non-existing gate, statsig returns false without indication of whether it was successful get gate or some error reason. Therefore, the evaluation will be evaluated to false in this case.
Suggested solution
@kenny-statsig
The text was updated successfully, but these errors were encountered: