One may return multidimensional arrays from a query, such as:
myQuery(): [[String!]!]!
This is especially useful for data that gets graphed in a dashboard.
Current behaviour
The first level of array gets properly forwarded to the client, but the second level gets converted to an object:
[['a'], ['b'], ['c']] -> [{0: 'a'}, {0: 'b'}, {0: 'c'}]
Desired behaviour
Any level of nesting of arrays should be forwarded as is
Use-case
One may return multidimensional arrays from a query, such as:
This is especially useful for data that gets graphed in a dashboard.
Current behaviour
The first level of array gets properly forwarded to the client, but the second level gets converted to an object:
[['a'], ['b'], ['c']]
->[{0: 'a'}, {0: 'b'}, {0: 'c'}]
Desired behaviour
Any level of nesting of arrays should be forwarded as is