andreachild commented on code in PR #3234:
URL: https://github.com/apache/tinkerpop/pull/3234#discussion_r2421185624
##########
gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/process/traversal/dsl/graph/GraphTraversal.java:
##########
@@ -2920,6 +2920,7 @@ public default GraphTraversal<S, E> aggregate(final
String sideEffectKey) {
* @return the traversal with an appended {@link AggregateGlobalStep}
* @see <a
href="http://tinkerpop.apache.org/docs/${project.version}/reference/#aggregate-step"
target="_blank">Reference Documentation - Aggregate Step</a>
* @since 3.4.3
+ * @deprecated As of release 3.7.5, aggregate() is no longer scoped, to
achieve lazy evaluation use aggregate() inside of local()
*/
public default GraphTraversal<S, E> aggregate(final Scope scope, final
String sideEffectKey) {
Review Comment:
```suggestion
@Deprecated
public default GraphTraversal<S, E> aggregate(final Scope scope, final
String sideEffectKey) {
```
--
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]