Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to gather and evaluate all flags (without generating metrics for those flags) #142

Open
checketts opened this issue Mar 15, 2023 · 0 comments

Comments

@checketts
Copy link
Contributor

I'm trying to migrate from Unleash to Harness and find the equivalent for evaluateAllToggles

We use that to get a list of all flags and when those flags would evaluate to if they were being checked. Then use that map in frontend code to do some simple feature flags.

I would like to submit an equivalent feature for the Harnes SDK. Is there interest in this change?

Option 1

Enhance CfClient to expose it

Option 2

Make Evaluator injectable (and extensible) so I can add it in my small (and admittedly unusual) usecases without making it a common usecase.

Option 3

Mimic the Unleash approach and create a more() option when these extra options are hidden away.

I'm going to begin looking at Option 2 to keep the changes simple.

@checketts checketts changed the title Add ability to gather and evaluate all flags (without generating metrics fo those flags) Add ability to gather and evaluate all flags (without generating metrics for those flags) Mar 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant