-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Labels
area/graphqlIssues related to GraphQL support on Dgraph.Issues related to GraphQL support on Dgraph.kind/featureSomething completely new we should consider.Something completely new we should consider.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.
Description
It's currently not possible to filter in GraphQL by if a node does or does not have a particular edge. We, should port Dgraph's has condition to solve that.
Expect it to look like
queryUser(filter: { has: friends }) {
...
} or
{
queryUser(filter: {firstName: {eq: null}}) {
username
firstName
}
}Metadata
Metadata
Assignees
Labels
area/graphqlIssues related to GraphQL support on Dgraph.Issues related to GraphQL support on Dgraph.kind/featureSomething completely new we should consider.Something completely new we should consider.status/acceptedWe accept to investigate/work on it.We accept to investigate/work on it.