Skip to content

Instantly share code, notes, and snippets.

@manakuro
Created December 10, 2021 04:56
Show Gist options
  • Save manakuro/8daa0ce7eeb1980cf6f4acdb14ffef06 to your computer and use it in GitHub Desktop.
Save manakuro/8daa0ce7eeb1980cf6f4acdb14ffef06 to your computer and use it in GitHub Desktop.
type UserConnection {
totalCount: Int!
pageInfo: PageInfo!
edges: [UserEdge]
}
type UserEdge {
node: User
cursor: Cursor!
}
extend type Query {
user(id: ID): User
users(after: Cursor, first: Int, before: Cursor, last: Int): UserConnection
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment