aboutsummaryrefslogtreecommitdiffstats
path: root/graphql/gqlgen.yml
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-07-29 18:58:42 +0200
committerMichael Muré <batolettre@gmail.com>2018-07-29 18:58:42 +0200
commit8fa0b258ac89781dae269790a4bde09cbcd2f324 (patch)
treeb9bcf0826f5739f128de52123447cede23291c02 /graphql/gqlgen.yml
parent6363518c85cbd8247a5f6507b8a1dd3903cfb71d (diff)
downloadgit-bug-8fa0b258ac89781dae269790a4bde09cbcd2f324.tar.gz
cleaning
Diffstat (limited to 'graphql/gqlgen.yml')
-rw-r--r--graphql/gqlgen.yml27
1 files changed, 27 insertions, 0 deletions
diff --git a/graphql/gqlgen.yml b/graphql/gqlgen.yml
new file mode 100644
index 00000000..131a8b58
--- /dev/null
+++ b/graphql/gqlgen.yml
@@ -0,0 +1,27 @@
+schema: schema.graphql
+exec:
+ filename: resolvers/gen_graph.go
+model:
+ filename: resolvers/gen_model.go
+
+models:
+ Repository:
+ model: github.com/MichaelMure/git-bug/graphql/resolvers.repoResolver
+ Bug:
+ 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
+ Label:
+ model: github.com/MichaelMure/git-bug/bug.Label
+ CreateOperation:
+ model: github.com/MichaelMure/git-bug/bug/operations.CreateOperation
+ SetTitleOperation:
+ model: github.com/MichaelMure/git-bug/bug/operations.SetTitleOperation
+ AddCommentOperation:
+ model: github.com/MichaelMure/git-bug/bug/operations.AddCommentOperation
+ SetStatusOperation:
+ model: github.com/MichaelMure/git-bug/bug/operations.SetStatusOperation
+ LabelChangeOperation:
+ model: github.com/MichaelMure/git-bug/bug/operations.LabelChangeOperation