So when using @normalize to flatten your data currently you have to manually alias every member of the parent structure.
What you really want though is for this somehow to magically be taken care of for you.
Someone on the discord suggested this, which is not bad! I have no idea how hard this is to implement of course.
query {
n(func: type(Post)) @normalize(auto_alias: True) {
uid
name
author {
author.uid: uid
author.name: name
}
comments {
comments.comment: comment
author {
comments.author.uid: uid
comments.author.name
}
}
}
}