Skip to content

Commit

Permalink
generate servers and add path to error
Browse files Browse the repository at this point in the history
  • Loading branch information
asamusev committed Dec 1, 2018
1 parent 29770d6 commit 526bef0
Show file tree
Hide file tree
Showing 12 changed files with 675 additions and 952 deletions.
159 changes: 60 additions & 99 deletions example/chat/generated.go

Large diffs are not rendered by default.

135 changes: 55 additions & 80 deletions example/config/generated.go

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion example/dataloader/dataloader_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ func TestTodo(t *testing.T) {
}
err := c.Post(`{ torture2d(customerIds:{}) { id name } }`, &resp)

require.EqualError(t, err, "[{\"message\":\"map[string]interface {} is not an int\"}]")
require.EqualError(t, err, "[{\"message\":\"map[string]interface {} is not an int\",\"path\":[\"torture2d\"]}]")
})

}
Loading

0 comments on commit 526bef0

Please sign in to comment.