Abstract
The formula that will be evaluated with the enriched data
The options given to this plugin
Abstract
enrichEnriches the data for the child formula
The original data for evaluation
Optional
logger: LoggerOptionally pass a logger
The enriched data that is then used to evaluate the child formula
Evaluates the formula with the given data
The data that's used for evaluation
Abstract
getAbstract
get
When a rule is evaluated, the
enrichData
function is called and the data to evaluate against is passed to this plugin. The plugin is supposed to create its own data (or enrich the data object that is passed to it) and return it. This new object will then be used to evaluate the formula inside the plugin