Sort freeCodeCamp ascending throws a server error


#1

Query:

{
  repository(owner: "freeCodeCamp", name: "freeCodeCamp") {
    stargazers(first: 100, orderBy: {field: STARRED_AT, direction: ASC}) {
      pageInfo {
        endCursor
        hasNextPage
        hasPreviousPage
        startCursor
      }
      edges {
        starredAt
        node {
          login
          databaseId
          __typename
        }
      }
    }
  }
}

Result:

{
  "data": null,
  "errors": [
    {
      "message": "Something went wrong while executing your query. This is most likely a GitHub bug. Please include \"BEF6:17E20:6F9B04B:8FE3858:5952BAE1\" when reporting this issue."
    }
  ]
}

Cannot return null for non-nullable field StargazerEdge.node
#2

Thank you for reporting this @hsborges, this definitely looks like an error on our end. I’ve added an issue in our internal tracker to investigate. We’ll report back when we have more information.


#3

Sorry for the trouble! This should be fixed now.


#4

Thank you very much :+1:


Viewer repositories endpoint not showing all repos
#5

Use Markdown, BBCode. Or HTML to format


#6

Open files organization