diff options
author | Michael Muré <batolettre@gmail.com> | 2018-07-27 19:48:45 +0200 |
---|---|---|
committer | Michael Muré <batolettre@gmail.com> | 2018-07-27 19:48:45 +0200 |
commit | ff2fd14e3f10a7206d4ec86f07e524cfa290e0fc (patch) | |
tree | c81ecd42f3753e0abb67e10aa031fa80dca90ac7 /graphql2/gqlgen.yml | |
parent | 932743ac066e8c6d76cbfc1710b0d55a78dced55 (diff) | |
download | git-bug-ff2fd14e3f10a7206d4ec86f07e524cfa290e0fc.tar.gz |
wip gqlgen
Diffstat (limited to 'graphql2/gqlgen.yml')
-rw-r--r-- | graphql2/gqlgen.yml | 25 |
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 |