diff options
author | Steve Moyer <smoyer1@selesy.com> | 2022-08-23 10:33:19 -0400 |
---|---|---|
committer | Steve Moyer <smoyer1@selesy.com> | 2022-08-23 10:33:19 -0400 |
commit | 7ba98bfadc2c4c7fd3e777074976b78d6171b163 (patch) | |
tree | 4865a84837a016e9a18b566046a2aa7a1992acc7 /api/graphql/gqlgen.yml | |
parent | 2c2c449187557384fd1e5b9333e808451be86041 (diff) | |
parent | 5a70e8b3a2e0fe3d1a1dcd4c24bb6bf64633cb7f (diff) | |
download | git-bug-7ba98bfadc2c4c7fd3e777074976b78d6171b163.tar.gz |
Merge branch 'master' into fix-850-ineffective-comment-edit
Diffstat (limited to 'api/graphql/gqlgen.yml')
-rw-r--r-- | api/graphql/gqlgen.yml | 66 |
1 files changed, 14 insertions, 52 deletions
diff --git a/api/graphql/gqlgen.yml b/api/graphql/gqlgen.yml index fb3399f3..98d31a5c 100644 --- a/api/graphql/gqlgen.yml +++ b/api/graphql/gqlgen.yml @@ -1,64 +1,26 @@ schema: "schema/*.graphql" exec: - filename: graph/gen_graph.go + layout: follow-schema + dir: graph + package: graph model: filename: models/gen_models.go +autobind: + - "github.com/MichaelMure/git-bug/api/graphql/models" + - "github.com/MichaelMure/git-bug/repository" + - "github.com/MichaelMure/git-bug/entity" + - "github.com/MichaelMure/git-bug/entity/dag" + - "github.com/MichaelMure/git-bug/entities/common" + - "github.com/MichaelMure/git-bug/entities/bug" + - "github.com/MichaelMure/git-bug/entities/identity" + models: - Repository: - model: github.com/MichaelMure/git-bug/api/graphql/models.Repository - RepositoryMutation: - model: github.com/MichaelMure/git-bug/api/graphql/models.RepositoryMutation + ID: + model: github.com/MichaelMure/git-bug/entity.Id Bug: model: github.com/MichaelMure/git-bug/api/graphql/models.BugWrapper - fields: - actors: - resolver: true - participants: - resolver: true - comments: - resolver: true - timeline: - resolver: true - operations: - resolver: true Color: model: image/color.RGBA - Comment: - model: github.com/MichaelMure/git-bug/bug.Comment Identity: model: github.com/MichaelMure/git-bug/api/graphql/models.IdentityWrapper - Label: - model: github.com/MichaelMure/git-bug/bug.Label - Hash: - model: github.com/MichaelMure/git-bug/repository.Hash - Operation: - model: github.com/MichaelMure/git-bug/entity/dag.Operation - CreateOperation: - model: github.com/MichaelMure/git-bug/bug.CreateOperation - SetTitleOperation: - model: github.com/MichaelMure/git-bug/bug.SetTitleOperation - AddCommentOperation: - model: github.com/MichaelMure/git-bug/bug.AddCommentOperation - EditCommentOperation: - model: github.com/MichaelMure/git-bug/bug.EditCommentOperation - SetStatusOperation: - model: github.com/MichaelMure/git-bug/bug.SetStatusOperation - LabelChangeOperation: - model: github.com/MichaelMure/git-bug/bug.LabelChangeOperation - TimelineItem: - model: github.com/MichaelMure/git-bug/bug.TimelineItem - CommentHistoryStep: - model: github.com/MichaelMure/git-bug/bug.CommentHistoryStep - CreateTimelineItem: - model: github.com/MichaelMure/git-bug/bug.CreateTimelineItem - AddCommentTimelineItem: - model: github.com/MichaelMure/git-bug/bug.AddCommentTimelineItem - LabelChangeTimelineItem: - model: github.com/MichaelMure/git-bug/bug.LabelChangeTimelineItem - SetStatusTimelineItem: - model: github.com/MichaelMure/git-bug/bug.SetStatusTimelineItem - SetTitleTimelineItem: - model: github.com/MichaelMure/git-bug/bug.SetTitleTimelineItem - LabelChangeResult: - model: github.com/MichaelMure/git-bug/bug.LabelChangeResult |