cqframework/cql-execution

Sorting in cql-execution doesn't support 'ascending' or 'descending'

Closed this issue · 4 comments

In addition to 'asc' and 'desc' cql-execution should support 'ascending' or 'descending' sorting directions.

Search for ByDirection, ByExpression expressions and other occurrences of 'asc', 'desc'

Thanks for reporting this. I am surprised that cql-to-elm does not normalize this to a single representation asc/desc, but I see now that the ELM schema allows for all variations (asc, ascending, desc, descending). We'll have to fix this. We'd also welcome a PR if your team wants to give it a try.

This fix is now available in the cql-execution 2.3.3 release.

Awesome. Thank you so much!