add currentUser query

This commit is contained in:
João Geonizeli
2021-08-07 12:46:39 -03:00
parent 79047938d1
commit 94e9aa08b4
6 changed files with 43 additions and 15 deletions

View File

@@ -35,10 +35,15 @@ type Mutation {
}
type Query {
"""
An example field added by the generator
"""
testField: [String!]!
currentUser: User
}
type User {
email: String!
firstName: String!
fullName: String!
id: ID!
lastName: String!
}
input UserAttributesInput {