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

Update DateTimeScalar with Custom Scalar specification, add new official specifiedByURL #84

Merged
merged 1 commit into from Nov 24, 2022

Conversation

dondonz
Copy link
Member

@dondonz dondonz commented Nov 24, 2022

Hot off the press, we have an official place for contributed Custom Scalar specifications! https://scalars.graphql.org/

And the very first specification is for DateTimeScalar https://scalars.graphql.org/andimarek/date-time

This PR:

  • Updates the DateTimeScalar to conform with the specification, to not allow negative 0 offset for time zone
  • Adds the link to the official custom scalar specification

Note that in the forthcoming graphql-java v20, the method to specify the URL will change to specifiedByURL.

@dondonz dondonz merged commit 5610166 into master Nov 24, 2022
@dondonz dondonz deleted the update-datetime-scalar-with-spec branch November 24, 2022 06:04
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.

None yet

2 participants