CacheControl / CacheControl/json-rules-engine

How to create multiple 'aggregate' facts on a 'parent' object calculated from child objects (composition)

オープン
#361 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
3.1k
フォーク
507
PR マージ指標
30日以内にマージされた PR はありません

説明

I have object(s) that will introduce facts that also have 'child' objects (composition). There will be multiple facts that are aggregate values on the parent that are calculated from the 'children.'

Typically these aggregate fact on the parent will follow one of the following patterns:

- count of children matching a filter (or all)
- sum of children matching a filter (or all)

I didn't see anything like that in the examples. It would be great if it could be added!

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

まず、リポジトリに既存する例と、ここに記載されている要件を確認します。合成された子要素から計算される親 facts(フィルタ済みまたは未フィルタの件数と合計を含む)です。Rules Engine がこのパターンをすでにサポートしているかを確認します。完了とするには、サポートする集計動作を定義した具体例、または範囲を絞った実装提案が必要です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
backend
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
25/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。