Skip to content

Instantly share code, notes, and snippets.

@duytai
Last active June 2, 2017 04:52
Show Gist options
  • Save duytai/dfbf3557d8fa84629f60ae2adafd53e3 to your computer and use it in GitHub Desktop.
Save duytai/dfbf3557d8fa84629f60ae2adafd53e3 to your computer and use it in GitHub Desktop.
type Query {
me: User
node(_id: ID!): Node
nodes(_ids: [ID!]!): [Node]!
}
type User implements Node {
id: ID!
name: String
books(first: Int, last: Int, before: String, after: String): BookConnection
musics(first: Int, last: Int, before: String, after: String): MusicConnection
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment