[
https://issues.apache.org/jira/browse/TINKERPOP-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17935402#comment-17935402
]
ASF GitHub Bot commented on TINKERPOP-3017:
-------------------------------------------
andreachild opened a new pull request, #3073:
URL: https://github.com/apache/tinkerpop/pull/3073
https://issues.apache.org/jira/browse/TINKERPOP-3017
Replaces withEmbedded() and withRemote() and removes the long deprecated
withGraph(). A single unified with() removes the need to check the object being
given to the AnonymousTraversalSource to decide which method to use. Can't
remember why that split was used in the first place. This should make it easier
to explain how to use the AnonymousTraversalSource in the first place, requires
a bit less typing and simply streamlines the API.
This is a back port of https://github.com/apache/tinkerpop/pull/2366 from
master (4.0).
> Simplify TraversalSource creation from AnonymousTraversalSource
> ---------------------------------------------------------------
>
> Key: TINKERPOP-3017
> URL: https://issues.apache.org/jira/browse/TINKERPOP-3017
> Project: TinkerPop
> Issue Type: Improvement
> Components: process
> Affects Versions: 3.6.5
> Reporter: Stephen Mallette
> Assignee: Stephen Mallette
> Priority: Major
> Labels: breaking
> Fix For: 4.0.0
>
>
> Currently {{traversal()}} makes the user choose {{withRemote()}} or
> {{withEmbedded()}}. We could simplify by just making it {{with()}} and
> deprecating the old stuff. Also remove the long deprecated {{withGraph()}}.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)