intuit / intuit/graphql-filter-java

FilterExpression doesn't work with LocalDateTime values

Đang mở
#29 2 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Java
Star
73
Fork
33
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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);`

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Start at FilterExpression.getExpression(ExpressionFormat.JPA) and reproduce the reported behavior with a LocalDateTime value. Trace where the expression parser converts it to Date; done means JPA and SQL output preserve the LocalDateTime value and the existing filter behavior remains intact.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
java
Lĩnh vực
backend-api-design
Loại issue
Lỗi
Độ khó
3/5
Thời gian dự kiến
1-2 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
38/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.