aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/graphql/gqlgen.yml6
1 files changed, 4 insertions, 2 deletions
diff --git a/api/graphql/gqlgen.yml b/api/graphql/gqlgen.yml
index 98d31a5c..6ed6e52f 100644
--- a/api/graphql/gqlgen.yml
+++ b/api/graphql/gqlgen.yml
@@ -15,12 +15,14 @@ autobind:
- "github.com/MichaelMure/git-bug/entities/bug"
- "github.com/MichaelMure/git-bug/entities/identity"
+omit_getters: true
+
models:
ID:
model: github.com/MichaelMure/git-bug/entity.Id
- Bug:
- model: github.com/MichaelMure/git-bug/api/graphql/models.BugWrapper
Color:
model: image/color.RGBA
Identity:
model: github.com/MichaelMure/git-bug/api/graphql/models.IdentityWrapper
+ Bug:
+ model: github.com/MichaelMure/git-bug/api/graphql/models.BugWrapper