Bug: Issue nodes no longer being populated


#1

Recently (in the last few days), my Graph QL API requests have been returning empty arrays of issues. Is this a bug?

GraphQL request:

query { amlcurran_website: repository(owner: "amlcurran", name: "website") { name
issues(states: [OPEN], first: 10) { nodes { title id } } } }

GraphQL response JSON:

{
  "data" : {
    "amlcurran_website" : {
      "name" : "website",
      "issues" : {
        "nodes" : [

        ]
      }
    }
  }
}

#2

:wave: @amlcurran,

It looks like this is an issue with the nodes field. The following should work:

{
  amlcurran_website: repository(owner: "amlcurran", name: "website") {
    name
    issues(states: [OPEN], first: 10) {
      edges {
        node {
          title
          id
        }
      }
    }
  }
}

I’ve opened up an issue to track the issue with nodes.


#3

Hi @amlcurran :wave: Just wanted to let you know that this should now be fixed – let us know if you can still reproduce the problem for some query.