Skip to content

Commit

Permalink
Merge pull request #270 from 99designs/feat-handlers
Browse files Browse the repository at this point in the history
stop pickup "github.com/vektah/gqlgen/handler" from GOPATH
  • Loading branch information
vektah authored Aug 9, 2018
2 parents 0eb08ab + f04820b commit 53109cd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions codegen/build.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ func (cfg *Config) resolver() (*ResolverBuild, error) {
namedTypes := cfg.buildNamedTypes()
imports := buildImports(namedTypes, destDir)
imports.add(cfg.Exec.ImportPath())
imports.add("github.com/99designs/gqlgen/handler") // avoid import github.com/vektah/gqlgen/handler

cfg.bindTypes(imports, namedTypes, destDir, prog)

Expand Down

0 comments on commit 53109cd

Please sign in to comment.