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

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

Open
deefdragon opened this issue Nov 29, 2023 · 1 comment

Comments

@deefdragon
Copy link

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.

@dabeeeenster
Copy link
Contributor

Ah interesting! We are working on getting Identity overrides working with local evaluation (Flagsmith/flagsmith#1762) - would this solve your use case? There would be limits to the number of overrides as it affects the size of the environment payload in local eval mode.

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

2 participants