Hi,

I am creating traversal snippets in code which ultimately comes together
in one traversal.

I have done this before and generally the pattern is,

traversal = g.V().this().that();
if (something) {
    traversal = traversal.this().that()
} else {
   traversal = traversal.thisOther().thatOther()
}

However now I'd like to have the if statements in the object that holds
the state. It will get called from many places.

Something like,

traversal.append(someObject.customTraversal());

Is this already possible or is "append" something that is worth adding?

Thanks
Pieter

Reply via email to