Skip to content

Commit

Permalink
get arg errors working in both contexts
Browse files Browse the repository at this point in the history
  • Loading branch information
vektah committed Feb 17, 2018
1 parent 62a18ff commit 8f93bf8
Show file tree
Hide file tree
Showing 12 changed files with 878 additions and 54 deletions.
10 changes: 8 additions & 2 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion example/dataloader/dataloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import (
)

func TestTodo(t *testing.T) {
srv := httptest.NewServer(LoaderMiddleware(handler.GraphQL(NewExecutor(&Resolver{}))))
srv := httptest.NewServer(LoaderMiddleware(handler.GraphQL(MakeExecutableSchema(&Resolver{}))))
c := client.New(srv.URL)

t.Run("create a new todo", func(t *testing.T) {
Expand Down
Loading

0 comments on commit 8f93bf8

Please sign in to comment.