Skip to content

Topic search in GraphQL misses forks #24507

Discussion options

You must be logged in to vote
mihai-sysbio:
{
  search(first: 100, query: "topic:standard-GEM", type:REPOSITORY) {
    repos: edges {
      repo: node {
        ... on Repository {
          nameWithOwner
        }
      }
    }
  }
}

👋 hello there @mihai-sysbio, and welcome to the GitHub Support Community! 🎉

To include forks in the search results, you will need to add fork:true or fork:only to your query (source: Searching for repositories).

Here’s an example query that includes forks in the search results:

{
  search(first: 100, query: "fork:true topic:standard-GEM", type:REPOSITORY) {
    repos: edges {
      repo: node {
        ... on Repository {
          nameWithOwner
        }
      }
    }
  }
}

At th…

Replies: 3 comments

Comment options

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

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment