CacheControl / CacheControl/json-rules-engine
Is it possible make value as a dynamic data like using path?
未關閉
- 主要語言
- 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