intuit / intuit/graphql-filter-java

Implicit Date conversion clashes with DateTime scalar

Open
#15 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
73
Forks
33
PR merge metrics
No merged PRs in 30d

Description

If `DateTime` scalar from `graphql-java-extended-scalars` is used which maps to the `OffsetDateTime` Java type the following exception is thrown.

```
org.springframework.dao.InvalidDataAccessApiUsageException: Parameter value [Thu Dec 03 01:00:00 CET 2020] did not match expected type [java.time.OffsetDateTime (n/a)]
```

Implicit Date conversion should be removed from `FilterExpressionParser`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.