Created
March 1, 2020 17:14
-
-
Save fernandodof/1e3c80e3e9768efbd2beef718aac5f2f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
type User { | |
id: ID!, | |
name: String!, | |
description: String, | |
email: String!, | |
age: Int, | |
followers: [User] | |
} | |
type Tweet { | |
id: ID! | |
text: String!, | |
userId: String! | |
} | |
type Query { | |
users: [User], | |
user(id: ID!): User, | |
tweets(userId: ID!, last: Int): [Tweet] | |
followers: [User] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment