[ https://issues.apache.org/jira/browse/TINKERPOP-1893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16369144#comment-16369144 ]
Florian Hockmann commented on TINKERPOP-1893: --------------------------------------------- {{AddV}} is a step that adds a new vertex to the graph and not a label to an existing vertex. See the reference docs for more information: [http://tinkerpop.apache.org/docs/current/reference/#addvertex-step] You can't change vertex labels of an existing vertex in TinkerPop. Instead, you have to set them when you create the vertex (with theĀ {{AddV}} step). I'm closing this one as it isn't a bug, but feel free to re-open in case you meant something else. > AddV(string label) does not add label > ------------------------------------- > > Key: TINKERPOP-1893 > URL: https://issues.apache.org/jira/browse/TINKERPOP-1893 > Project: TinkerPop > Issue Type: Bug > Components: dotnet > Affects Versions: 3.2.7, 3.3.1 > Environment: Windows, IIS, docker > Reporter: Klaus Stephan > Assignee: Florian Hockmann > Priority: Major > > public GraphTraversal<Vertex, Vertex> AddV(string label) does not add a label > to the vertex. > Can someone please check this? > Is there a workaround to set the label until the next build? (I am fairly new > to gremlin) > I tried this on 3.3.2-rc1 and 3.2.8-rc1 (the majors don't work for me because > of TINKERPOP-1880) > I use [https://hub.docker.com/r/bricaud/gremlin-server/] for testing. -- This message was sent by Atlassian JIRA (v7.6.3#76005)