aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/gqlgen.yml
diff options
context:
space:
mode:
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: