intuit / intuit/graphql-filter-java
Improvements to work with table relations, added support to associations such as oneToMany and manyToOne
- 主要语言
- Java
- 星标
- 73
- 派生
- 33
- PR 合并指标
- 30 天内没有已合并 PR
描述
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)
贡献指南
调研方向
首先检查 FilterExpressionParser 和 JpaSpecificationExpressionVisitor,然后将它们当前的行为与附带的 graphql-dynamicquery 示例进行比较。当支持 oneToMany 和 manyToOne 关联、is null 和 is not null 过滤器以及所列出的日期类型,且不再受当前仅限于 Date 的限制时,工作即完成。
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- graphql, java
- 领域
- backend, databases
- Issue 类型
- 功能
- 难度
- 3/5
- 预计耗时
- 1-2 天
- 活跃度
- 停滞
- 描述清晰度
- 基本清楚
- 新手友好度
- 35/100