We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19c7f53 commit 8646821Copy full SHA for 8646821
readme.md
@@ -20,6 +20,17 @@ or the following into your Maven config
20
<artifactId>graphql-java-extended-scalars</artifactId>
21
<version>1.0</version>
22
</dependency>
23
+
24
+Then register the scalar with graphql-java
25
26
+ RuntimeWiring.newRuntimeWiring().scalar(ExtendedScalars.DateTime)
27
28
+And use it in your schema
29
30
+ scalar DateTime
31
+ type Something {
32
+ someDateTime: DateTime
33
+ }
34
35
## DateTime Scalars
36
0 commit comments