Skip to content

Feature Request: Separate control over Identity and Environment flags Local/Remote #104

@deefdragon

Description

@deefdragon

I'm using a large number of Environment flags to dictate api access on a per endpoint basis. For these flags, they change so infrequently that using Local Evaluation makes the most sense to avoid the latency hit.

When doing most of my Identity based checks however, Im checking for specific Identity Overrides, which do not function in Local, so I must use Remote Evaluation.

Currently, it is possible to accomplish this with two clients, but it is obviously undesirable to require duplicating client setup.

This request is to add extra options values for the client of WithRemoteEnvironmentEvaluation(), and WithRemoteIdentityEvaluation(). This allows first setting the default to local with WithLocalEvaluation(ctx) (and setting the context) and then setting which you wish to have Remotely evaluated second.

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