aboutsummaryrefslogtreecommitdiffstats
path: root/graphql2/gqlgen.yml
diff options
context:
space:
mode:
Diffstat (limited to 'graphql2/gqlgen.yml')
-rw-r--r--graphql2/gqlgen.yml25
1 files changed, 25 insertions, 0 deletions
diff --git a/graphql2/gqlgen.yml b/graphql2/gqlgen.yml
new file mode 100644
index 00000000..60ea0c49
--- /dev/null
+++ b/graphql2/gqlgen.yml
@@ -0,0 +1,25 @@
+schema: schema.graphql
+exec:
+ filename: gen/graph.go
+model:
+ filename: gen/model.go
+
+models:
+ 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