-
Notifications
You must be signed in to change notification settings - Fork 71
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
Extending NodeRelationshipMethods #31
Comments
Some prefer symbols, some (like me) prefer English. I think that the '?' is quite obvious, but a '*' is questionable. However, it is possible to provide both, as we are creating a common library. |
I agree that using Providing both the English methods and their symbol equivalents seems like it could be the way to go. What are your ideas as an alternative to |
Hi Christopher, now that 0.3.1-SNAPSHOT is out I wouldn't mind having a crack at this. What would your preference be for symbol method names for |
I think |
It would be extremely useful to extend
OutgoingRelationshipBuilder
andIncomingRelationshipBuilder
in order to be able to determine whether a node has a specific relationship and to get nodes at the other end of the relationship.I am unsure about the methods in terms of whether they should use symbols or English but they should be idiomatic enough to be easily read.
For example, to determine whether a node has a relationship we could use something along the lines of:
To get nodes at the other end of the relationship(s)
The snippets are not necessarily using the method names I would suggest but merely for example. In any case they would be quite useful.
Currently, to achieve the same result it would be necessary to write something like this:
I'd be happy to submit a pull request for this.
The text was updated successfully, but these errors were encountered: