1schema: schema.graphql
2exec:
3 filename: resolvers/gen_graph.go
4model:
5 filename: models/gen_models.go
6
7models:
8 # Hack: here, we define the Repository model as a struct we control to trick gqlgen into
9 # generating an empty resolver instead of a struct with data
10 # Hopefully in the future, gqlgen support this case and we can clean that, as well as
11 # moving gen_graph.go into it's own package
12 Repository:
13 model: github.com/MichaelMure/git-bug/graphql/resolvers.repoResolver
14 Bug:
15 model: github.com/MichaelMure/git-bug/bug.Snapshot
16 Comment:
17 model: github.com/MichaelMure/git-bug/bug.Comment
18 Person:
19 model: github.com/MichaelMure/git-bug/bug.Person
20 Label:
21 model: github.com/MichaelMure/git-bug/bug.Label
22 CreateOperation:
23 model: github.com/MichaelMure/git-bug/bug/operations.CreateOperation
24 SetTitleOperation:
25 model: github.com/MichaelMure/git-bug/bug/operations.SetTitleOperation
26 AddCommentOperation:
27 model: github.com/MichaelMure/git-bug/bug/operations.AddCommentOperation
28 SetStatusOperation:
29 model: github.com/MichaelMure/git-bug/bug/operations.SetStatusOperation
30 LabelChangeOperation:
31 model: github.com/MichaelMure/git-bug/bug/operations.LabelChangeOperation