Skip to content

feat(gen): array filter support#42

Merged
mattevans merged 3 commits intomasterfrom
feat/array-filter-support
Dec 2, 2025
Merged

feat(gen): array filter support#42
mattevans merged 3 commits intomasterfrom
feat/array-filter-support

Conversation

@mattevans
Copy link
Member

❯ curl "http://localhost:8093/api/v1/int_custody_probe?probe_date_time_gt=1764606854&slots_has=1870209&page_size=2" | jq '.int_custody_probe[].slots'

[
  1870211,
  1870212,
  1870213,
  1870210,
  1870095,
  1870096,
  1870209
]
[
  1870207,
  1870208,
  1870206,
  1870209
]

- Introduce IsArray flag to FilterType and register ArrayUInt32/64,
 ArrayInt32/64 and ArrayStringFilter kinds
- Generate dedicated buildArrayFilterBuilder() that creates
 has / has_all / has_any / length_* filters with correct priority
- Extend generateBuilderArgs() to emit array-specific parameters
- Teach parseParam() to recognise multi-part operators like
 "has_all_values", "length_eq" and fix precedence bug for "not_in"
- Add all new array operators to isFilterOperator() whitelist
@mattevans mattevans self-assigned this Dec 2, 2025
…table

chore(seed): populate new array columns with signed and unsigned values
@mattevans mattevans merged commit e0d3ed9 into master Dec 2, 2025
3 checks passed
@mattevans mattevans deleted the feat/array-filter-support branch December 2, 2025 07:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants