Flagsmith / Flagsmith/flagsmith-java-client

Support `$.flags` context values in segment conditions

Open
#224 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
28
Forks
22
PR merge metrics
No merged PRs in 30d

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

No contributing guide indexed for this repository

Research direction

Start by locating the engine condition evaluation and the SDK getFlags path, then inspect engine-test-data for the flag dependency cases. Implement support for $.flags conditions and segment passing while preserving per-evaluation isolation and avoiding cost when unused. Done means the bumped engine-test-data cases pass and identity-less evaluations resolve $.flags and $.environment conditions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.