Skip to content

Instantly share code, notes, and snippets.

@danielrearden
Created June 24, 2024 03:57
Show Gist options
  • Save danielrearden/3a1acd65cbb1eb1623f7b933836a2be6 to your computer and use it in GitHub Desktop.
Save danielrearden/3a1acd65cbb1eb1623f7b933836a2be6 to your computer and use it in GitHub Desktop.
Example GraphQL query
query {
viewer {
gists (first: 100, orderBy: {field: CREATED_AT, direction: DESC} ) {
edges {
node {
createdAt
description
name
pushedAt
stargazers (first: 100) {
totalCount
edges {
node {
id
}
}
}
updatedAt
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment