CacheControl / CacheControl/json-rules-engine

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

Open
#361 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
3.1k
Forks
507
PR merge metrics
No merged PRs in 30d

Description

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!

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.