Flagsmith / Flagsmith/flagsmith-go-client

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

Open
#104 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Go
Stars
16
Forks
16
Avg merge
8h 32m
Merged PRs (30d)
1

Description

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.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.