Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implicit Date conversion clashes with DateTime scalar #15

Open
roele opened this issue Sep 21, 2021 · 3 comments
Open

Implicit Date conversion clashes with DateTime scalar #15

roele opened this issue Sep 21, 2021 · 3 comments

Comments

@roele
Copy link
Contributor

roele commented Sep 21, 2021

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.

@jchristopherinc
Copy link

Hi,

I'm facing the same issue as well. Is there any work-around for this bug?

@roele
Copy link
Contributor Author

roele commented Oct 27, 2022

My workaround back then was to patch it with the following fix.
https://github.com/intuit/graphql-filter-java/pull/17/files

@jchristopherinc
Copy link

@jaiswalsk can you please take a look at the PR ☝🏽

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants