Daniel Kuppitz created TINKERPOP-1630: -----------------------------------------
Summary: Consider adding by(Object value) Key: TINKERPOP-1630 URL: https://issues.apache.org/jira/browse/TINKERPOP-1630 Project: TinkerPop Issue Type: Improvement Components: process Affects Versions: 3.3.0 Reporter: Daniel Kuppitz I often find myself writing stuff like {{sack(assign).by(constant(1))}}. Would be nice if I could simply do {{sack(assign).by(1)}}. {noformat} public default GraphTraversal<S, E> by(final Object value) { return by(__.constant(value)); } {noformat} Downside: Might lead to confusion with Strings. -- This message was sent by Atlassian JIRA (v6.3.15#6346)