Project

General

Profile

Actions

Feature #77981

closed

Unify chaining and nesting of dataProcessors

Added by Jigal van Hemert over 7 years ago. Updated over 2 years ago.

Status:
Rejected
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2016-09-18
Due date:
% Done:

0%

Estimated time:
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

The behaviour of dataProcessors is a bit inconsistent. Some support further processing for each object/record they produce (nesting), others support using data from outside the 'data' array (chaining).

For "nesting" it should only be documented that each record/object that is generated is further processed by applying the sub-dataProcessing setting.

For "chaining" a new property of each setting that is meant to configure the input data is introduced:
source : can have the values
  • "data": read property with the given name from the data array
  • "field": read property with the given name from outside the data array
  • "value": literal value, no property name
Actions

Also available in: Atom PDF