framework icon indicating copy to clipboard operation
framework copied to clipboard

[filters] `toArray` and `getFields` should account for composite array of filters

Open rauanmayemir opened this issue 6 years ago • 2 comments

Currently, calling both getFields and toArray returns child fields as is, leaving you with an array of unwrapped filter objects.

I think filters should somehow check the schema and serialize nested objects.

rauanmayemir avatar Jan 05 '20 17:01 rauanmayemir

@rauanmayemir are you sure? according to toArray() functionality, its output is a plain data array, all objects are converted to values

vvval avatar Dec 16 '20 14:12 vvval

@vvval Not if you have a field that is an array of filter objects.

rauanmayemir avatar Dec 16 '20 14:12 rauanmayemir