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

    https://github.com/apache/tinkerpop/pull/833#discussion_r181456678
  
    --- Diff: docs/src/upgrade/release-3.3.x.asciidoc ---
    @@ -23,6 +23,33 @@ 
image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima
     
     == TinkerPop 3.3.2
     
    +*Release Date: NOT OFFICIALLY RELEASED YET*
    +
    +Please see the 
link:https://github.com/apache/tinkerpop/blob/3.3.3/CHANGELOG.asciidoc#release-3-3-3[changelog]
 for a complete list of all the modifications that are part of this release.
    +
    +=== Upgrading for Users
    +
    +==== Credential DSL Changes
    +
    +The Credential DSL has been modified to work as a standard Java-based 
Gremlin DSL. The now deprecated old approach
    +used a "graph wrapping" style that was developed long before the
    
+link:http://tinkerpop.apache.org/docs/current/reference/#gremlin-java-dsl[recommended
 method] for building DSLs was
    +published. Under this new model, the DSL is initialized via traversal as 
follows:
    +
    +[source,java]
    +----
    +CredentialTraversalSource credentials = 
graph.traversal(CredentialTraversalSource.class)
    +credentials.user("stephen","password").iterate()
    +credentials.users("stephen").valueMap().next()
    +credentials.users().count().next()
    +credentials.user("stephen").drop().iterate()
    --- End diff --
    
    ```
    credentials.users("stephen").drop().iterate()
    ```


---

Reply via email to