[ 
https://issues.apache.org/jira/browse/TINKERPOP-1903?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16437645#comment-16437645
 ] 

ASF GitHub Bot commented on TINKERPOP-1903:
-------------------------------------------

Github user dkuppitz commented on a diff in the pull request:

    https://github.com/apache/tinkerpop/pull/833#discussion_r181456003
  
    --- Diff: docs/src/reference/gremlin-applications.asciidoc ---
    @@ -1365,15 +1365,22 @@ Please see the example usage as follows:
     ----
     graph = TinkerGraph.open()
     graph.createIndex("username",Vertex.class)
    -credentials = credentials(graph)
    -credentials.createUser("stephen","password")
    -credentials.createUser("daniel","better-password")
    -credentials.createUser("marko","rainbow-dash")
    -credentials.findUser("marko").properties()
    -credentials.countUsers()
    -credentials.removeUser("daniel")
    -credentials.countUsers()
    -----
    +credentials = graph.traversal(CredentialTraversalSource.class)
    +credentials.user("stephen","password")
    +credentials.user("daniel","better-password")
    +credentials.user("marko","rainbow-dash")
    +credentials.users("marko").valueMap()
    +credentials.users().count()
    +credentials.user("daniel").drop()
    --- End diff --
    
    Ignoring that simply dropping my user account is probably not in line with 
the current GDPR, this should be `credentials.users("daniel").drop()`.


> Credentials DSL should use the Java annotation processor
> --------------------------------------------------------
>
>                 Key: TINKERPOP-1903
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1903
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: server
>    Affects Versions: 3.2.7
>            Reporter: stephen mallette
>            Assignee: stephen mallette
>            Priority: Major
>              Labels: deprecation
>             Fix For: 3.3.3
>
>
> This content is a bit outdated - 
> http://tinkerpop.apache.org/docs/current/reference/#credentials-dsl
> uses the old method of DSL development prior to when we established the 
> annotation processor - need to fix both the code itself and the documentation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to