-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
kind/enhancementSomething could be better.Something could be better.
Description
Any query query with expand(_all_) and another predicate at the same level fails with "Repeated subgraph: [<pred>] while using expand()". Just as this unit test fails.
This prevents us from writing queries like:
{
me(func:anyofterms(name, "Alice")) {
expand(_all_)
friend {
name
}
}
}
From my point of view, it would be nice to implicitly exclude the friend predicate from expand(_all_), so that you can get all values of a node and particular values of its children.
Metadata
Metadata
Assignees
Labels
kind/enhancementSomething could be better.Something could be better.