Flagsmith / Flagsmith/flagsmith-nodejs-client
Support `$.flags` context values in segment conditions
未关闭
- 主要语言
- TypeScript
- 星标
- 30
- 派生
- 27
- 平均合并
- 11 分钟
- 30 天内合并 PR
- 5
描述
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.
贡献指南
调研方向
先定位 getFlags 和引擎集成,然后检查 engine-test-data 依赖及其 flag 依赖案例。验证 $.flags 条件在无身份评估中能够正常工作,不包含此类条件的环境不会产生每次评估的开销,并且已解析的 flag 在并发评估之间保持隔离。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- nodejs, typescript
- 领域
- api, backend
- Issue 类型
- 功能
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 活跃度
- 活跃
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100