Skip to content

Commit

Permalink
Merge pull request 99designs#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 897e511 + 916fe6a commit 4859792
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 4859792

Please sign in to comment.