diff options
author | Arun Isaac | 2022-01-04 00:10:11 +0530 |
---|---|---|
committer | Arun Isaac | 2022-01-04 00:10:11 +0530 |
commit | 2bec74c641cd2aa14fea5c84ed93ebcb5dd07808 (patch) | |
tree | e2e86b5bce9a933200f0e055d63ad67425baef71 | |
parent | 0817e8d2e0f3565a2edfe838d802ac1d7b7eeaa6 (diff) | |
download | kolam-2bec74c641cd2aa14fea5c84ed93ebcb5dd07808.tar.gz kolam-2bec74c641cd2aa14fea5c84ed93ebcb5dd07808.tar.lz kolam-2bec74c641cd2aa14fea5c84ed93ebcb5dd07808.zip |
kolam: Rename <date> scalar type to <datetime>.
* kolam/graphql.scm (<date>): Rename to <datetime>.
-rw-r--r-- | kolam/graphql.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kolam/graphql.scm b/kolam/graphql.scm index 24d0972..99105d7 100644 --- a/kolam/graphql.scm +++ b/kolam/graphql.scm @@ -36,7 +36,7 @@ <string> <boolean> <id> - <date>)) + <datetime>)) (define-record-type <schema> (make-schema query mutation) @@ -87,7 +87,7 @@ (define-scalar-type <string> string? identity) (define-scalar-type <boolean> boolean? identity) (define-scalar-type <id> string? identity) -(define-scalar-type <date> date? (cut date->string <> "~4")) +(define-scalar-type <datetime> date? (cut date->string <> "~4")) (define-record-type <non-nullable-type> (non-nullable-type subtype) |