shurcooL / githubv4

Package githubv4 is a client library for accessing GitHub GraphQL API v4 (https://docs.github.com/en/graphql).

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Query list of template repos owned by team?

EcHoOfInSaNiTy opened this issue · comments

Hello,

I'm unable to find documentation as to how I could nest this query into a struct, does anyone have any ideas how I could go about doing this?

organization(login: "myorg") {
    name
    team(slug: "myteam") {
      repositories(orderBy: {field: NAME, direction: ASC}, first: 100) {
        edges {
          node {
            name
            sshUrl
            isTemplate
          }
        }
      }
    }
  }
}