Querying child from List on Parent

translated into DQL would be:

{
  queryParent(func: type(Parent)) {
    uid
    name: Parent.name
    children: Parent.children {
      uid
      name: Child.name
    }
  }
}

Note: I added the uids so that even if the name is not present the uid is still displayed. Also remapped the fields to the same names as the GraphQL query. You do have a typo in your question and should clarify whether you are using nome or name as that would make a difference.

1 Like