Filter improvments#135
Merged
clementtalleu merged 4 commits intoMay 5, 2026
Merged
Conversation
Add DateFilter supporting after/before/strictly_after/strictly_before operators and exact date match via range query on a new NUMERIC alias created for DateTime fields in HASH format. Add RangeFilter supporting gt/gte/lt/lte/between operators for numeric fields. Normalize BooleanFilter to accept true/false/1/0 string values. Extend count() in RedisClient and AbstractObjectRepository to support range filters so paginator totalItems stays consistent.
… system Override getSchema() to return enum: [ASC, DESC, asc, desc], which lets ParameterValidationResourceMetadataCollectionFactory auto-derive a Choice constraint. ParameterValidatorProvider then rejects invalid directions with 422 before the filter runs. Remove the redundant in_array direction checks and the null-parameter guard.
|
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #135 +/- ##
============================================
+ Coverage 73.52% 73.64% +0.11%
- Complexity 847 881 +34
============================================
Files 65 68 +3
Lines 1953 2030 +77
============================================
+ Hits 1436 1495 +59
- Misses 517 535 +18 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.