Skip to content

Commit

Permalink
graphql: update dependency and test filter with multiple values
Browse files Browse the repository at this point in the history
  • Loading branch information
Denys Smirnov committed Jun 3, 2018
1 parent 1a0c7cb commit 431ee28
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gopkg.lock

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

3 changes: 2 additions & 1 deletion query/graphql/graphql_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ var casesParse = []struct {
}{
{
`{
user(id: 3500401, http://iri: http://some_iri, follow: <bob>, n: _:bob) @rev(follow: "123"){
user(id: 3500401, http://iri: http://some_iri, follow: <bob>, n: _:bob, v: ["<bob>", "name", 3]) @rev(follow: "123"){
id: ` + ValueKey + `,
type: ` + rdf.NS + "type" + `,
followed: follow @reverse @label(v: <fb>) {
Expand All @@ -54,6 +54,7 @@ var casesParse = []struct {
{"http://iri", false, iris("http://some_iri"), nil},
{"follow", false, iris("bob"), nil},
{"n", false, []quad.Value{quad.BNode("bob")}, nil},
{"v", false, []quad.Value{quad.IRI("bob"), quad.String("name"), quad.Int(3)}, nil},
},
Fields: []field{
{Via: quad.IRI(ValueKey), Alias: "id"},
Expand Down

0 comments on commit 431ee28

Please sign in to comment.