intuit / intuit/graphql-filter-java

FilterExpression doesn't work with LocalDateTime values

未关闭
#29 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Java
星标
73
派生
33
PR 合并指标
30 天内没有已合并 PR

描述

When passing in a LocalDateTime, the expression parser needlessly converts into a `Date`

image

image

This makes the filter unusable if you want to convert it to JPA format or SQL using `filterExpression.getExpression(ExpressionFormat.JPA);`

贡献指南

打开贡献指南

调研方向

从 FilterExpression.getExpression(ExpressionFormat.JPA) 开始,使用 LocalDateTime 值复现所报告的行为。跟踪表达式解析器将其转换为 Date 的位置;当 JPA 和 SQL 输出保留 LocalDateTime 值,且现有的过滤器行为保持不变时,即表示完成。

由索引模型根据 Issue 内容生成。

评估

技术栈
java
领域
backend-api-design
Issue 类型
缺陷
难度
3/5
预计耗时
1-2 天
活跃度
停滞
描述清晰度
基本清楚
新手友好度
38/100

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。