-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: add a helper to remap properties in filters and pageables #1870
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1870 +/- ##
=======================================
Coverage 95.35% 95.35%
=======================================
Files 67 67
Lines 4431 4431
Branches 630 630
=======================================
Hits 4225 4225
Misses 163 163
Partials 43 43
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Kudos, SonarCloud Quality Gate passed! |
packages/java/endpoint/src/main/java/dev/hilla/crud/filter/Remapper.java
Outdated
Show resolved
Hide resolved
…apper.java Co-authored-by: Soroosh Taefi <taefi.soroosh@gmail.com>
packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/FilterTransformer.java
Outdated
Show resolved
Hide resolved
packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/FilterTransformer.java
Outdated
Show resolved
Hide resolved
packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/FilterTransformer.java
Outdated
Show resolved
Hide resolved
packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/FilterTransformer.java
Outdated
Show resolved
Hide resolved
packages/java/endpoint/src/main/java/com/vaadin/hilla/crud/filter/FilterTransformer.java
Outdated
Show resolved
Hide resolved
…ter/FilterTransformer.java Co-authored-by: Soroosh Taefi <taefi.soroosh@gmail.com>
…ter/FilterTransformer.java Co-authored-by: Soroosh Taefi <taefi.soroosh@gmail.com>
…ter/FilterTransformer.java Co-authored-by: Soroosh Taefi <taefi.soroosh@gmail.com>
…ter/FilterTransformer.java Co-authored-by: Soroosh Taefi <taefi.soroosh@gmail.com>
Quality Gate passedIssues Measures |
This ticket/PR has been released with Hilla 24.4.0.alpha21 and is also targeting the upcoming stable 24.4.0 version. |
This class deals with the simplest cases of properties that change name or path in a DTO. It also supports a function to be applied each time a
PropertyStringFilter
is encountered, to allow for more sophisticated changes.Closes #1865