Flagsmith / Flagsmith/flagsmith-nodejs-client
Support `$.flags` context values in segment conditions
- Langage dominant
- TypeScript
- Étoiles
- 30
- Forks
- 26
- Merge moyen
- 11 min
- PR mergées (30 j)
- 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.
Guide de contribution
Ouvrir le guide de contribution
Piste de recherche
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.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- nodejs, typescript
- Domaine
- api, backend
- Type d'issue
- Fonctionnalité
- Difficulté
- 4/5
- Temps estimé
- 3-5 jours
- Activité
- Active
- Clarté
- Plutôt claire
- Accessibilité débutants
- 48/100