aboutsummaryrefslogblamecommitdiffstats
path: root/api/graphql/gqlgen.yml
blob: c20b7618326dd89041451f22ade1b36e898b43db (plain) (tree)
1
2
3
4
5
6
7
8
9
                          
     


                       
      
                                
 
         






                                                   
 

                  
       
     
                                               

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

autobind:
  - "github.com/git-bug/git-bug/api/graphql/models"
  - "github.com/git-bug/git-bug/repository"
  - "github.com/git-bug/git-bug/entity"
  - "github.com/git-bug/git-bug/entity/dag"
  - "github.com/git-bug/git-bug/entities/common"
  - "github.com/git-bug/git-bug/entities/bug"
  - "github.com/git-bug/git-bug/entities/identity"

omit_getters: true

models:
  ID:
    model: github.com/git-bug/git-bug/entity.Id
  Color:
    model: image/color.RGBA
  Identity:
    model: github.com/git-bug/git-bug/api/graphql/models.IdentityWrapper
  Bug:
    model: github.com/git-bug/git-bug/api/graphql/models.BugWrapper