Remove ownerAffiliations: OWNER constraint and add option to include forks (#61)

This commit is contained in:
Simon Lecoq
2021-01-14 13:33:46 +01:00
committed by GitHub
parent 9632f5faf6
commit c34e73fa68
19 changed files with 64 additions and 45 deletions

View File

@@ -1,11 +1,15 @@
query Repositories {
user(login: "$login") {
repositories($after first: $repositories, isFork: false, ownerAffiliations: OWNER, orderBy: {field: UPDATED_AT, direction: DESC}) {
repositories($after first: $repositories $forks, orderBy: {field: UPDATED_AT, direction: DESC}) {
edges {
cursor
}
nodes {
name
owner {
login
}
isFork
watchers {
totalCount
}