Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
3.0.2-incubating
-
None
-
None
Description
We have:
withSack() withPath() withSideEffect()
This can get tedious to continuously type. If a user will always have something like withSack(1.0,sum), then perhaps they can do this:
gremlin> g = graph.traversal(GraphTraversalSource.with(TraversalSourceStrategy.build().withSack(1.0,sum).create())) gremlin> g.V().sack() ==>1.0 ==>1.0 ==>1.0 ==>1.0 ==>1.0 ==>1.0