add support for custom scalars -- mainly adding proper import machinery

This commit is contained in:
Ben Kraft
2021-04-08 13:07:31 -07:00
parent e68787ad35
commit b4e8316c6a
31 changed files with 283 additions and 89 deletions
+3
View File
@@ -1,3 +1,5 @@
scalar DateTime
enum Role {
STUDENT
TEACHER
@@ -60,6 +62,7 @@ type Query {
user(query: UserQueryInput): User
root: Topic!
randomLeaf: LeafContent!
convert(dt: DateTime!, tz: String): DateTime!
}
type Mutation {