schema: "schema/*.graphql"
exec:
  layout: follow-schema
  dir: graph
  package: graph
model:
  filename: models/gen_models.go

skip_mod_tidy: true

autobind:
  - "github.com/MichaelMure/git-bug/api/graphql/models"
  - "github.com/MichaelMure/git-bug/repository"
  - "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:
  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
