[Question] Why the strategy is evaluated in a OR fashion?
krysalead opened this issue · 2 comments
krysalead commented
Hi,
I am curious because my use cases are more to evaluate in a AND way as I expected to match all the criteria to show the feature.
Example:
I need my user to be logged in and on a VALIDATION phase.
That' will be super cool to have a notion of phase or environment (Alpha, Beta, Prod...) with the same feature but not the same state.
ivarconr commented
Hi,
Unleash will soon introduce support for environments (we are working hard to make that happen, and also part of it will be available as Open Source).
to support AND scenario you will either:
- use the commercial version which supports strategy constraints or
- implement a custom activation strategy where you can implement your own rules. (Available in open-source)
krysalead commented
Hi,
Thanks, I took the approach of forking and changing the défaut implementation with “every” instead of “some” during strategy evaluation.
For the time being, waiting for the environment feature.
Olivier DAUMAS
… Le 1 oct. 2021 à 09:56, Ivar Conradi Østhus ***@***.***> a écrit :
Hi,
Unleash will soon introduce support for environments (we are working hard to make that happen, and also part of it will be available as Open Source).
to support AND scenario you will either:
use the commercial version which supports strategy constraints or
implement a custom activation strategy where you can implement your own rules. (Available in open-source)
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.