Skip to content

Commit

Permalink
address comment
Browse files Browse the repository at this point in the history
  • Loading branch information
vvakame committed Aug 9, 2018
1 parent ba495e3 commit 916fe6a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
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
1 change: 0 additions & 1 deletion codegen/import_build.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ var ambientImports = []string{
"github.com/vektah/gqlparser",
"github.com/vektah/gqlparser/ast",
"github.com/99designs/gqlgen/graphql",
"github.com/99designs/gqlgen/handler",
"github.com/99designs/gqlgen/graphql/introspection",
}

Expand Down

0 comments on commit 916fe6a

Please sign in to comment.