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


##########
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/__.java:
##########
@@ -1235,6 +1235,7 @@ public static <A> GraphTraversal<A, A> aggregate(final 
String sideEffectKey) {
 
     /**
      * @see GraphTraversal#aggregate(Scope, String)
+     * @deprecated As of release 3.7.5, aggregate() is no longer scoped, to 
achieve lazy evaluation use local() with aggregate() instead

Review Comment:
   i think you could go even shorter because the deprecation comment clearly 
applies to the `Scope` argument. 
   
   > @deprecated As of release 3.7.5, prefer a pattern with {@link local()} and 
{@link aggregate()} instead
   
   obviously, those links need fixup, but that's the idea. 



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