Skip to content

Commit

Permalink
Merge pull request #448 from 99designs/update-gqlparser
Browse files Browse the repository at this point in the history
Update to latest gqlparser
  • Loading branch information
vektah committed Nov 26, 2018
2 parents f9c880b + d6ce42d commit 9d636e7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 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 codegen/codegen_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func TestGenerateServer(t *testing.T) {
name := "graphserver"
schema := `
type Query {
user(): User
user: User
}
type User {
id: Int
Expand Down
4 changes: 2 additions & 2 deletions codegen/input_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ func TestTypeUnionAsInput(t *testing.T) {
type Query {
addBookmark(b: Bookmarkable!): Boolean!
}
type Item {}
type Item {name: String}
union Bookmarkable = Item
`)

Expand All @@ -24,7 +24,7 @@ func TestTypeInInput(t *testing.T) {
type Query {
addBookmark(b: BookmarkableInput!): Boolean!
}
type Item {}
type Item {name: String}
input BookmarkableInput {
item: Item
}
Expand Down

0 comments on commit 9d636e7

Please sign in to comment.