Move tests to snapshots

This commit is contained in:
Ben Kraft
2020-07-15 17:35:47 -07:00
parent 3b80f09c79
commit 279228f9a4
18 changed files with 204 additions and 131 deletions
+31
View File
@@ -0,0 +1,31 @@
enum Role {
STUDENT
TEACHER
}
input UserQueryInput {
email: String
name: String
id: ID
role: Role
}
type AuthMethod {
provider: String
email: String
}
type User {
id: ID!
roles: [Role!]
name: String
emails: [String!]!
emailsOrNull: [String!]
emailsWithNulls: [String]!
emailsWithNullsOrNull: [String]
authMethods: [AuthMethod!]!
}
type Query {
user(query: UserQueryInput): User
}