Hello Monday community,
I have a small GraphQL query as below:
{
vat_quarterly: boards(ids: 684144642) {
groups(ids: "topics") {
...NumberDateFields2
}
}
}
fragment NumberDateFields2 on Group {
items {
column_values(ids: ["numbers", "date72", "mirror66"]) {
text
}
}
}
The result I retrieve is as below(just a small snippet):
{
"column_values": [
{
"text": "Courtney Stretton"
},
{
"text": "2021-08-31"
},
{
"text": "1"
}
]
}
}
Now, the column ID mirror66
is actually a user’s name. In my Graph QL query I had added mirror66
at the end, but it appeared first in the result set for each row. Is there a way to achieve more definitive results, like the result order to match the columns order that the system was requested with?
So, here result should be in the order of numbers
,date72
and then mirror66
which is the user’s name.
Could someone provide some insights as to how we can change this default behaviour?