Closed flyingsilverfin closed 2 years ago
The grammar allows match ... ; sort $x, $y, $z asc/desc;. However, we should allowing each sort variable to have its own direction: sort $x asc, $y desc, $z asc; for example.
match ... ; sort $x, $y, $z asc/desc;
sort $x asc, $y desc, $z asc;
N/A
Change the grammar to allow sorting per-variable
Implemented in https://github.com/vaticle/typeql/pull/230
Problem to Solve
The grammar allows
match ... ; sort $x, $y, $z asc/desc;
. However, we should allowing each sort variable to have its own direction:sort $x asc, $y desc, $z asc;
for example.Current Workaround
N/A
Proposed Solution
Change the grammar to allow sorting per-variable
Additional Information