You must explicitly ask what you want to get in the results.
So, you will have to send a query that is 5 level deep:
query {
queryLibrary(filter: {status: {eq: FAIL}}) {
name
nodes {
name
nodes {
name
... # as deep as you want to go
}
}
}
}
EDIT:
If you want, you can specify filters for nodes too like this:
query {
queryLibrary(filter: {status: {eq: FAIL}}) {
name
nodes(filter: {status: {eq: FAIL}}) {
name
nodes(filter: {status: {eq: FAIL}}) {
name
... # as deep as you want to go
}
}
}
}