Closed liran2000 closed 3 months ago
We've added a new API(which will return the evaluation details regarding a gate) for this. Please take a look. https://github.com/statsig-io/java-server-sdk/releases/tag/v1.14.0
We've added a new API(which will return the evaluation details regarding a gate) for this. Please take a look. https://github.com/statsig-io/java-server-sdk/releases/tag/v1.14.0
Thanks. The request of fallback was not added exactly as requested, so managed to overcome it via specific reasons check.
* similar to GO sdk issue
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
add:
@xinlili-statsig