[ 
https://issues.apache.org/jira/browse/TINKERPOP-3017?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17791065#comment-17791065
 ] 

ASF GitHub Bot commented on TINKERPOP-3017:
-------------------------------------------

spmallette opened a new pull request, #2366:
URL: https://github.com/apache/tinkerpop/pull/2366

   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.
   
   VOTE +1




> 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
>            Priority: Major
>              Labels: breaking
>
> 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)

Reply via email to