Unleash / unleash-client-java

Unleash client SDK for Java
https://docs.getunleash.io
Apache License 2.0
121 stars 70 forks source link

fix: when using multiple strategies some of them might not be evaluated #211

Closed gastonfournier closed 1 year ago

gastonfournier commented 1 year ago

About the changes

The code selecting an activation strategy was exiting on a first enable match but the strategy being enabled does not mean the feature will be enabled. We need to iterate and evaluate each one of the strategies before returning.

Closes #210