Skip to content

Array based filters

Choose a tag to compare

@LCluber LCluber released this 15 Mar 09:56
· 64 commits to main since this release
  • Add support for array-based filter format with multiple filters per property:
    • Filters now accept both simple format (single object) and complex format (array of objects)
    • Simple format: {name: {value: "John", matchMode: "contains"}} (backward compatible)
    • Complex format: {name: [{value: "John", matchMode: "contains", operator: "or"}]} (new)
    • Support logical operators (AND/OR) to combine multiple filters on the same property
    • Example: {name: [{value: "John", operator: "or"}, {value: "Jane", operator: "or"}]}
  • Fix isFilterable property in declaration file