Skip to content

Commit

Permalink
Add handler import to root cmd
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathew Byrne committed Nov 28, 2018
1 parent 9dba96d commit 3a7a506
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ import (
"github.com/99designs/gqlgen/graphql"
"github.com/99designs/gqlgen/internal/gopath"
"github.com/urfave/cli"

// Required since otherwise dep will prune away these unused packages before codegen has a chance to run
_ "github.com/99designs/gqlgen/handler"
)

func Execute() {
Expand Down

0 comments on commit 3a7a506

Please sign in to comment.