Affects Version/s: 3.2.1
Fix Version/s: None
Parameters was introduced to provide more expressivity in the mutation API. With Parameters, a step parameter need not be a direct object, but could, instead, but a traversal which yields the direct object. For instance:
That is, the new person age is the age of whatever vertex was labeled "a."
This ability to parameterize steps with runtime traversals is powerful and should be used more throughout Gremlin. For instance, it would be cool to be able to do things like below:
I think the steps that can best use Parameters include:
- Mutating-steps (*done*)
- VertexStep (out(), in(), outE(), etc.)
Daniel Kuppitz What do you think given your experience?