MichelDiz commented :
BTW guys, a workaround for this would be something like
query q($name1:string = "Ridley Scott", $name2:string = "Steven Spielberg") {
me(func: eq(name@en, [$name1, $name2])) {
name@en
director.film @filter(lt(initial_release_date, "1980-01-01")) {
initial_release_date
name@en
}
}
}
You pass each value separately into variables. Hence use them as above.
Details of this support Support for Gql variable in arrays by srfrog · Pull Request #2981 · dgraph-io/dgraph · GitHub