Here’s my use case:
I want to show Member communities that AREN’T the one that’s currently loaded.
{
query(func: eq(Community.slug, "basb")) {
community_uid AS uid
members: Community.members {
uid
communities: Member.communities @filter(not uid(community_uid)) {
uid
}
}
}
}
@ignorereflex works for the above case with only one filter - but I have another one i want to apply, which is that I only want to show a member’s communities that are subcommunities of the root community. So communities that are:
- Not the root community
- Subcommunities of the root community
Any direction on how i’d do this with variables @MichelDiz?