Looking at the Dgraph tour, I can
Find all people who are in their 20s, and have at least 2 friends.
{
lots_of_friends(func: ge(count(friend), 2)) @filter(ge(age, 20) AND lt(age, 30)) {
name@.
age
friend {
name@.
}
}
}
How would you do this in GraphQL? A custom query backed by a lambda? If so then you lose all of the power of selecting fields and filtering on the subgraph.