Skip to content
Discussion options

You must be logged in to vote

The error message and the diagnostics need work, for sure.

Here's what's going on. In EdgeQL, path expressions are lookups on a graph of objects. So, when you write Call.args, you mean "give me a set of arguments objects that is reachable from a given set of Call objects via the args link".

To illustrate, imagine you have this object graph:

[Call1]  ---> [arguments1]
            
[Call2]  ---> [arguments2]
                   ^
[Call3]  ----------|

Then, Call.args would return a set of two elements {arguments1, arguments2}. But here there are three links pointing to the two objects. And so if you attempt to sort the result set by a link property, there is no meaningful way to perform that…

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@isidentical
Comment options

@Soulmate69
Comment options

Answer selected by isidentical
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants