I am trying to filter my starred repositories by name (the name to filter is “cata*”) but sorry I am newbie on graphql and I don’t know how do it, because I don’t know how to join search block with a custom query block (because it is started with user and filter by my login).
This is my query:
{
user(login: "mdtrooper") {
login
starredRepositories {
nodes {
url
homepageUrl
name
nameWithOwner
isArchived
stargazers {
totalCount
}
forkCount
shortDescriptionHTML
languages(first: 10) {
edges {
node {
name
}
}
totalCount
pageInfo {
endCursor
hasNextPage
hasPreviousPage
startCursor
}
}
repositoryTopics(first: 10) {
edges {
node {
topic {
name
}
}
}
totalCount
pageInfo {
hasNextPage
hasPreviousPage
endCursor
startCursor
}
}
}
}
}
}
I did this question in stackoverflow link for somebody want some karma to answer in this site.