aboutsummaryrefslogtreecommitdiffstats
path: root/api/graphql/gqlgen.yml
blob: 98d31a5ca158b90e51021a7a71919b083f9e1734 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
schema: "schema/*.graphql"
exec:
  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:
  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