Below is graphql:
{
path as shortest(from 0x7, to:0x3, depth:6, numpaths:50){
friends @facets
}
all (func:uid(path)){
name
}
}
Below is the mutation:
{
set{
_:alice <friend> _:bos (close=true, relative=false) .
}
}
The error message is : Expected 1 but got 2 facets;
I didi research on dgraph website and found beolow one line:
Only one facet per predicate in the shortest query block is allowed.
I am not sure if it is the answer. If it is the answer, is there any solution to fix it.
Thank you very much for your response!