intuit / intuit/graphql-filter-java
Improvements to work with table relations, added support to associations such as oneToMany and manyToOne
- Dominant language
- Java
- Stars
- 73
- Forks
- 33
- PR merge metrics
- No merged PRs in 30d
Description
I've added support to associations such as `manyToOne` and `oneToMany`, changing the classes `FilterExpressionParser` and `JpaSpecificationExpressionVisitor` to use in my own projects.
The modifications also include :
- Added support to `is null` or `is not null` filters in `JpaSpecificationExpressionVisitor`
- Commented the method `convertIfDate` to allow the use of date types other than `Date`, such as `OffsetDateTime`, `LocalDateTime` or `LocalDate`.
_I'd like to contribute to this project with these improvements._
**This is an example project I've made using these improvements.**
[graphql-dynamicquery.zip](https://github.com/intuit/graphql-filter-java/files/10093267/graphql-dynamicquery.zip)
Contributor guide
Research direction
Start by reviewing FilterExpressionParser and JpaSpecificationExpressionVisitor, then compare their current behavior with the attached graphql-dynamicquery example. The work is complete when oneToMany and manyToOne associations, is null and is not null filters, and the listed date types are supported without the current Date-only restriction.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- graphql, java
- Domain
- backend, databases
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100