-
Notifications
You must be signed in to change notification settings - Fork 76
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to get both edge and vertex properties? #270
Comments
you could use Note though that select.by doesn't work yet, there's an open PR that almost works: #241 |
@mpollmeier I tried to follow one of the examples on the SelectSpec. So I came up with something like this.
Whenever I try to print out the value I always end up with a value like this.
I have also tried something similar to one of the test spec which is this one.
The resulting code from above throws this exception
Is there anything I have been doing wrong? |
This works with Tinkergraph (haven't tested with a remote graph):
Otherwise I guess it's better to run two queries (one for vertices, one for edges) and combine at the client. |
Thanks @mpollmeier We have tried that approach but it's quite hard to the marshalling for it. We ended up performing another query just to retrieve the other properties that we have needed. |
After looking at the library I could not seem to find an example on How to get both edge and vertex properties in one query? is this possible with the current implementation?
The text was updated successfully, but these errors were encountered: