I have a GraphQL+- query in which I want to get mutual friends of two people. But I really couldn't find any option to use some sort of intersection of two graphs... can someone help me? Here is my code:
{
catarinas_friends(func: eq(name, "Catarina"))
{
friend
{
name
}
}
michaels_friends(func: eq(name, "Michael")) {
friend
{
name
}
}
# I want to intersect those two
}