Skip to content

Add support for Instant and Date in DateTime scalar #52

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

Closed

Conversation

maxhov
Copy link

@maxhov maxhov commented Jan 13, 2022

Add support for Instant and Date types in the DateTime scalar.

Similar to #26 but with the proposed fixes.

@steinmaerivoet
Copy link

Can this improvement be merged?

@jmisur
Copy link

jmisur commented Sep 5, 2022

There is not much this library misses but the support for few missing types. Can we merge this extremely small and straightforward PR which addresses concerns from #26 @andrewsf @Neoklosch @caio-picpay? 🙏

@dondonz
Copy link
Member

dondonz commented Nov 14, 2022

Hello, thanks for opening a pull request, and apologies for taking so long to reply.

I discussed with the team and we decided to not include Instant nor Date.

For Instant, the challenge is that it doesn't have an offset. It would be better for the user to choose the offset rather than the library to assume an offset.

For Date, we'd rather not support this outdated Java class.

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

Successfully merging this pull request may close these issues.

4 participants