spmallette commented on code in PR #3483:
URL: https://github.com/apache/tinkerpop/pull/3483#discussion_r3494541132


##########
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java:
##########
@@ -1466,6 +1484,30 @@ public default GraphTraversal<S, Vertex> addV() {
         return this.asAdmin().addStep(new 
AddVertexStepPlaceholder<>(this.asAdmin(), (String) null));
     }
 
+    /**
+     * Adds a {@link Vertex} with multiple labels. Use this method to create 
multi-labeled vertices.
+     * Creates the vertex with the first label, then adds the remaining labels.
+     *
+     * @param label1     the first label
+     * @param label2     the second label
+     * @param moreLabels additional labels
+     * @return the traversal with the {@link AddVertexStepContract} added
+     * @since 4.0.0
+     */
+    public default GraphTraversal<S, Vertex> addV(final String label1, final 
String label2, final String... moreLabels) {

Review Comment:
   was it intentional to skip the multi-variation of `addV(Traversal)`? Is the 
intent to push those folks to `addLabel(Traversal)` or something?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to