My reverse edge is not working although I have been doing everything write this is my type
type Brand{
name
bvid
subBrands
}
type SubBrand{
name
bvid
marketingMessage
<~brand>
}
And this how define its indices for reverse edge
subBrands: [uid] .
brand: uid @reverse .
after mutating it like this mutating nquad: <0x9> <subBrands> <0x7>
I am unable to get my brand in subbrand through reverse edge although it’s coming directly
working:
brands(func:type(Brand)){
name dgraph.type
subBrands{
name
}
}
Not working
subBrands(func:type(SubBrand)){
dgraph.type
name
marketingMessage
~brand{
name
}
}