Skip to content

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

Description

@checketts

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions