aboutsummaryrefslogtreecommitdiffstats
path: root/graphql2/gqlgen.yml
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-29 18:11:33 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-29 18:51:56 +0200
commit6363518c85cbd8247a5f6507b8a1dd3903cfb71d (patch)
treeaa51652e9881196b3637247988cbd5155f42b5e2 /graphql2/gqlgen.yml
parentff2fd14e3f10a7206d4ec86f07e524cfa290e0fc (diff)
downloadgit-bug-6363518c85cbd8247a5f6507b8a1dd3903cfb71d.tar.gz
relay connection working with gqlgen
Diffstat (limited to 'graphql2/gqlgen.yml')
-rw-r--r--graphql2/gqlgen.yml11
1 files changed, 9 insertions, 2 deletions
diff --git a/graphql2/gqlgen.yml b/graphql2/gqlgen.yml
index 60ea0c49..d7c096bf 100644
--- a/graphql2/gqlgen.yml
+++ b/graphql2/gqlgen.yml
@@ -1,10 +1,17 @@
schema: schema.graphql
exec:
- filename: gen/graph.go
+ filename: resolvers/generated_graph.go
model:
- filename: gen/model.go
+ filename: resolvers/generated_model.go
models:
+ Repository:
+ fields:
+ bug:
+ resolver: true
+ allBugs:
+ resolver: true
+# model: github.com/MichaelMure/git-bug/graphql2/resolvers.repoResolver
Bug:
model: github.com/MichaelMure/git-bug/bug.Snapshot
Comment: