Open frydj opened 6 months ago
Right now order-by expects a list, and non-capitalized sorting fns, eg: '(desc ?s)
. So the syntax used in this example is not intended to work.
However, we should also accept the same thing as a string, such as "(desc ?s)"
. And afaict this doesn't work atm. So we still need a fix, but for the string syntax rather than the vector syntax above.
Describe the bug When querying and trying to sort results, I'm getting an error message.
To Reproduce Steps to reproduce the behavior:
Transact some Yetis:
Try to query the Yetis with
orderBy
:Expected behavior The result set should be sorted by
@id
, but an error message is returned.also please note: the error message being returned points at the wrong URL:
I think this should point to https://next.developers.flur.ee/docs/reference/error-codes#query-invalid-orderby
System (please complete the following information):
fluree/server
docker image 771998956be2