aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/gqlgen.yml
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2019-03-01 23:17:57 +0100
committerGitHub <noreply@github.com>2019-03-01 23:17:57 +0100
commit7260ca05bc3588c0572887a7d8f1b897c7fc13da (patch)
tree66854358df3cb9de651f7688556ec5a4b8ab1868 /graphql/gqlgen.yml
parent0aefae6fcca5786f2c898029c3d6282f760f2c63 (diff)
parentb6bed784e5664819250aac20b2b9690879ee6ab1 (diff)
downloadgit-bug-7260ca05bc3588c0572887a7d8f1b897c7fc13da.tar.gz
Merge pull request #89 from MichaelMure/identity
WIP identity in git
Diffstat (limited to 'graphql/gqlgen.yml')
-rw-r--r--graphql/gqlgen.yml15
1 files changed, 3 insertions, 12 deletions
diff --git a/graphql/gqlgen.yml b/graphql/gqlgen.yml
index b6dc3ae5..0e389a53 100644
--- a/graphql/gqlgen.yml
+++ b/graphql/gqlgen.yml
@@ -1,4 +1,4 @@
-schema: "*.graphql"
+schema: "schema/*.graphql"
exec:
filename: graph/gen_graph.go
model:
@@ -13,17 +13,8 @@ models:
model: github.com/MichaelMure/git-bug/bug.Snapshot
Comment:
model: github.com/MichaelMure/git-bug/bug.Comment
- Person:
- model: github.com/MichaelMure/git-bug/bug.Person
- fields:
- name:
- resolver: true
- email:
- resolver: true
- login:
- resolver: true
- avatarUrl:
- resolver: true
+ Identity:
+ model: github.com/MichaelMure/git-bug/identity.Interface
Label:
model: github.com/MichaelMure/git-bug/bug.Label
Hash: