kenhuuu commented on code in PR #3234:
URL: https://github.com/apache/tinkerpop/pull/3234#discussion_r2418033863
##########
docs/src/upgrade/release-3.7.x.asciidoc:
##########
@@ -30,6 +30,21 @@ complete list of all the modifications that are part of this
release.
=== Upgrading for Users
+==== Deprecation of Scopes in aggregate() Step
+
+Scopes are now deprecated inside the `aggregate()` step, and will be removed
in the next major upgrade.
+The preferred way to achieve lazy evaluation with `aggregate()`, is using
`local()`.
+
+[source,text]
+----
+// 3.7.4
+gremlin> g.V().aggregate(Scope.local, "x").by("age").cap("x")
Review Comment:
Not sure if this is the best example, as cap() only produces the last output
so regardless of eager or lazy evaluation, the result should be the same. Maybe
use select() instead instead cap().
--
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]