I'm trying to build a module for my portfolio and I want to has a list with the last repository I've participate in.
I'm using Github GraphQL API.
I've come up with this request :
query
{
viewer {
login
name
topRepositories(first:10,orderBy:{field: PUSHED_AT, direction:ASC}){
edges{
node{
nameWithOwner
url
isPrivate
}
}
}
}
}
But I found that the "order by" did not do anything.
And I don't find how to get the last time you update this repo yourself. I don't want to have listed first the repos that as been update recently by someone else where I've participate in a long time ago.
Thanks for your help.