You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2020/12/31 14:30:00 UTC

[jira] [Updated] (TINKERPOP-2473) Prevent TraversalStrategy instances of the same type to be added to a TraversalSource

     [ https://issues.apache.org/jira/browse/TINKERPOP-2473?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Stephen Mallette updated TINKERPOP-2473:
----------------------------------------
    Summary: Prevent TraversalStrategy instances of the same type to be added to a TraversalSource  (was: Allow TraversalStrategy instances to be merged)

> Prevent TraversalStrategy instances of the same type to be added to a TraversalSource
> -------------------------------------------------------------------------------------
>
>                 Key: TINKERPOP-2473
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2473
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: process
>    Affects Versions: 3.4.8
>            Reporter: Stephen Mallette
>            Priority: Major
>
> Not sure if this is a great idea but it came up as part of TINKERPOP-2389 where there might be a need to assign both a client-side and server-side {{SubgraphStrategy}}. Currently, while not explicit, you can't assign more than one strategy of a particular type using {{withStrategies()}}. This task would make that explicit and provide a direct way for mergeable strategies to be pushed together into one. If we did that it would also simplify {{OptionsStrategy}} usage in {{with()}} step which currently finds an existing one first if present and then adds to it (otherwise creates it new). 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)