File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -24,15 +24,19 @@ You would use custom scalars when you want to describe more meaningful behavior
24
24
25
25
To use this library put the following into your gradle config
26
26
27
+ ``` java
27
28
implementation ' com.graphql-java:graphql-java-extended-scalars:20.0'
29
+ ```
28
30
29
31
or the following into your Maven config
30
32
33
+ ``` xml
31
34
<dependency >
32
35
<groupId >com.graphql-java</groupId >
33
36
<artifactId >graphql-java-extended-scalars</artifactId >
34
37
<version >20.0</version >
35
38
</dependency >
39
+ ```
36
40
37
41
> Note:
38
42
>
@@ -67,6 +71,7 @@ And use the scalar in your schema
67
71
``` graphql
68
72
scalar DateTime
69
73
@specifiedBy (url : " https://scalars.graphql.org/andimarek/date-time.html" )
74
+
70
75
type Something {
71
76
someDateTime : DateTime
72
77
}
You can’t perform that action at this time.
0 commit comments