Skip to content

Top language issue #1780

Answered by Rongronggg9
YannickBOYER asked this question in Q&A
Apr 5, 2022 · 6 comments · 2 replies
Discussion options

You must be logged in to vote

query userInfo($login: String!) {
user(login: $login) {
# 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
}
}
}
}
}
}
}

The fetcher only fetches you-owned-non-fork repositories.

Replies: 6 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@ChristmasCatt
Comment options

Answer selected by rickstaa
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ChristmasCatt
Comment options

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested.
5 participants
Converted from issue

This discussion was converted from issue #1694 on May 21, 2022 10:28.