Cole-Greer commented on code in PR #3233:
URL: https://github.com/apache/tinkerpop/pull/3233#discussion_r2433587000


##########
docs/src/reference/the-traversal.asciidoc:
##########
@@ -454,8 +454,8 @@ image:side-effect-lambda.png[width=175,float=right]
 [gremlin-groovy,modern]
 ----
 g.V().hasLabel('person').sideEffect(System.out.&println) <1>
-g.V().sideEffect(outE().count().aggregate(local,"o")).
-      sideEffect(inE().count().aggregate(local,"i")).cap("o","i") <2>
+g.V().sideEffect(outE().count().local(aggregate("o"))).

Review Comment:
   Nit: It might be nice to pull all of these docs changes (aside from the 
semantics docs I suppose) back into the 3.7 deprecation PR. The existing 
examples in 3.7-dev will still run, however it is preferable to point users 
towards the preferred `local(aggregate())` usage instead of the deprecated 
`aggregate(local)`



-- 
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