Flagsmith / Flagsmith/flagsmith-nodejs-client

Support `$.flags` context values in segment conditions

Open
#292 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
30
Forks
26
Avg merge
11m
Merged PRs (30d)
5

Description

Support `$.flags..` conditions.

### Acceptance criteria

Engine:

- `engine-test-data` is bumped to the tag containing the flag dependency cases, and they pass.
- An environment with no `$.flags` conditions gains no per-evaluation cost.
- Resolved flags are scoped to a single evaluation, never shared between concurrent evaluations.

SDK:

- `getFlags` passes segments to the engine so identity-less evaluation resolves `$.flags` and `$.environment` conditions.

Contributor guide

Open the contributing guide

Research direction

Start by locating getFlags and the engine integration, then inspect the engine-test-data dependency and its flag dependency cases. Verify that $.flags conditions work for identity-less evaluations, environments without such conditions avoid per-evaluation cost, and resolved flags remain isolated across concurrent evaluations.

Written by the indexing model from the issue text.

Assessment

Tech stack
nodejs, typescript
Domain
api, backend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.