Github graphQL OrderBy

Github graphQL OrderBy,github,graphql,github-graphql,Github,Graphql,Github Graphql,我有一个GraphQL查询。 我不明白它为什么不起作用 { repositoryOwner(login: "Naramsim") { login repositories(first: 3, isFork: true, orderBy: {field: CREATED_AT}) { edges { node { description } } } } } 您有一个错误 Argument

我有一个GraphQL查询。 我不明白它为什么不起作用

{
  repositoryOwner(login: "Naramsim") {
    login
    repositories(first: 3, isFork: true, orderBy: {field: CREATED_AT}) {
      edges {
        node {
          description
        }
      }
    }
  }
}
您有一个错误

Argument 'orderBy' on Field 'repositories' has an invalid value.
Expected type 'RepositoryOrder'.
您忘记指定标记为强制的方向。这将有助于:

{
  repositoryOwner(login: "Naramsim") {
    login
    repositories(first: 3, isFork: true,  orderBy: {field: CREATED_AT, direction: ASC}) {
      edges {
        node {
          description
        }
      }
    }
  }
}

我可以不分页地获取所有存储库吗?@davidewesley我认为最好在一个单独的问题中问这个问题,如果它还没有被问过的话(可能已经问过了)