CacheControl / CacheControl/json-rules-engine

Is it possible make value as a dynamic data like using path?

未关闭
#274 3 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
JavaScript
星标
3.1k
派生
507
PR 合并指标
30 天内没有已合并 PR

描述

**Example:**
```
conditions: {
all: [{
fact: 'account-information',
operator: 'equal',
value: 'microsoft', // **Is it possible make this value 'microsoft' as a dynamic content?**
path: '$.company' // access the 'company' property of "account-information"
}]
},
event: {
type: 'microsoft-christmas-pto',
params: {
message: 'current microsoft employee taking christmas day off'
}
}
```

贡献指南

这个仓库没有索引到贡献指南

调研方向

该 issue 没有指定文件、入口点或测试。首先跟踪规则条件如何使用 `value` 和 `path`,然后查看现有的条件测试。完成后应包含用于将 fact 属性与动态选择的内容进行比较的、已达成一致的语法和行为,并由测试提供支持。

由索引模型根据 Issue 内容生成。

评估

技术栈
javascript
领域
backend
Issue 类型
功能
难度
5/5
预计耗时
一周以上
活跃度
停滞
描述清晰度
需要澄清
新手友好度
25/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。