dunno, there are some dark magic in the GraphQL code that I’m not worthy to understand LOL
I didn’t work on that code, so I don’t know how it parses it.
Try this please
query q($ids : string = "[0x2712, 0x1]") {
queryPersonCustom(func: has(Person.firstName)) @filter(uid($ids)) {
id : uid
firstName : Person.firstName
lastName : Person.lastName
dgraph.type
}
}
BTW, can you do something for me?
Can you try without square brackets?
It should return an error or the complete error like this
strconv.ParseUint: parsing \"0x2712,0x1\": invalid syntax
Also add the default value after this test
query q($ids : string = "[0x2712, 0x1]") {
This above is the sintax for default value in DQL.