Closed gsteel closed 2 months ago
There's not much to change for this filter because it was already pretty minimal, however, inheritance has been removed.
This patch introduces ScalarOrArrayFilterCallback.
ScalarOrArrayFilterCallback
This internal class/static method will be used to replace AbstractFilter::applyFilterOnlyToStringableValuesAndStringableArrayValues
AbstractFilter::applyFilterOnlyToStringableValuesAndStringableArrayValues
Allows independent unit tests and frees filters from inheritance.
Also improves the previous implementation by recursively processing nested array structures.
Also see #168
Description
There's not much to change for this filter because it was already pretty minimal, however, inheritance has been removed.
This patch introduces
ScalarOrArrayFilterCallback
.This internal class/static method will be used to replace
AbstractFilter::applyFilterOnlyToStringableValuesAndStringableArrayValues
Allows independent unit tests and frees filters from inheritance.
Also improves the previous implementation by recursively processing nested array structures.