Open
Description
I see it's possible to sort nested collections, but is it possible to sort entire selection by nested fields?
query {
Items(
order: {
brand: {
name: 'DESC'
}
}
) {
select {
id
name
brand {
id
name
}
}
}
}
would return
"Items": {
"select": [{
"id": 3,
"name": "aaa"
"brand": {
"id": 31,
"name": "zzz"
}
}, {
"id": 1,
"name": "ccc"
"brand": {
"id": 11,
"name": "yyy"
}
}, {
"id": 2,
"name": "bbb"
"brand": {
"id": 22,
"name": "xxx"
}
}]
}