allow interface{} as a scalar

This commit is contained in:
Ben Kraft
2021-04-15 11:50:52 -07:00
parent a5fe0943bd
commit ddf4b03350
6 changed files with 49 additions and 1 deletions
+3
View File
@@ -1,5 +1,7 @@
scalar DateTime
scalar Junk
enum Role {
STUDENT
TEACHER
@@ -64,6 +66,7 @@ type Query {
randomLeaf: LeafContent!
convert(dt: DateTime!, tz: String): DateTime!
maybeConvert(dt: DateTime, tz: String): DateTime
getJunk: Junk
}
type Mutation {