Skip to content

Why is my most used languages not showing up? #1892

Answered by rickstaa
ENTPRESTIGIOUS asked this question in Q&A
Discussion options

You must be logged in to vote

@ENTPRESTIGIOUS Thanks for your question. I checked your account and it seems that the card is displaying the correct result we receive from the GraphQL API. You can check this out yourself using the following syntax in the graphql Explorer:

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
            }
          }
        }
      }
    }
  }
}
{"login": "ENTPRESTIGIOUS"}

Although…

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by ENTPRESTIGIOUS
Comment options

You must be logged in to vote
0 replies
Comment options

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants
Converted from issue

This discussion was converted from issue #1891 on July 27, 2022 07:25.