Closed beeme1mr closed 2 weeks ago
The old logic was always truthy. This corrects the behavior and brings it in line with Java.
https://github.com/open-feature/java-sdk-contrib/blob/main/providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/targeting/Fractional.java#L43
Run the jest test suite. The test added this PR failed before the fix.
This PR
Notes
The old logic was always truthy. This corrects the behavior and brings it in line with Java.
https://github.com/open-feature/java-sdk-contrib/blob/main/providers/flagd/src/main/java/dev/openfeature/contrib/providers/flagd/resolver/process/targeting/Fractional.java#L43
How to test
Run the jest test suite. The test added this PR failed before the fix.