Skip to content

Instantly share code, notes, and snippets.

@ahndmal
Created December 27, 2021 11:50
Show Gist options
  • Select an option

  • Save ahndmal/db244e458db3d09cea9f1db6c8d3625a to your computer and use it in GitHub Desktop.

Select an option

Save ahndmal/db244e458db3d09cea9f1db6c8d3625a to your computer and use it in GitHub Desktop.
# GraphQL
# Type queries into this side of the screen, and you will
# see intelligent typeaheads aware of the current GraphQL type schema,
# live syntax, and validation errors highlighted within the text.
# We'll get you started with a simple query showing your username!
query {
user(login: "AndriiMaliuta") {
# fetch only owner repos & not forks
repositories(ownerAffiliations: OWNER, isFork: false, first: 100) {
nodes {
name
languages(first: 10, orderBy: {field: SIZE, direction: DESC}) {
edges {
size
node {
color
name
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment