refactor: use graphql mutation instead of restful api

This commit is contained in:
Rongjian Zhang
2020-01-07 15:32:48 +08:00
parent c5a4721c5d
commit d9fad06570
9 changed files with 1325 additions and 20 deletions

View File

@@ -1,6 +1,7 @@
query GhUser($login: String!, $isViewer: Boolean!) {
repositoryOwner(login: $login) @skip(if: $isViewer) {
__typename
id
login
avatarUrl
url