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 2019/07/08 20:46:00 UTC

[jira] [Assigned] (TINKERPOP-1955) Gremlin.Net uses hard-coded g alias to retrieve side effects

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

stephen mallette reassigned TINKERPOP-1955:
-------------------------------------------

    Assignee: stephen mallette

> Gremlin.Net uses hard-coded g alias to retrieve side effects
> ------------------------------------------------------------
>
>                 Key: TINKERPOP-1955
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1955
>             Project: TinkerPop
>          Issue Type: Bug
>          Components: dotnet
>    Affects Versions: 3.2.8, 3.3.2
>            Reporter: Florian Hockmann
>            Assignee: stephen mallette
>            Priority: Minor
>
> Clients have to specify the name of the {{TraversalSource}} of which the traversal should be started with the {{aliases}} argument. Gremlin.Net allows defining this alias as an argument to the {{DriverRemoteConnection}} constructor which is then used to submit {{Bytecode}} traversals.
> However, this value is not available when side effects are retrieved and the alias is hard-coded to {{g}} for this purpose: [https://github.com/apache/tinkerpop/blob/master/gremlin-dotnet/src/Gremlin.Net/Driver/Remote/DriverRemoteTraversalSideEffects.cs#L102]
> So users currently can only retrieve side effects with Gremlin.Net for traversal sources that are globally bound to {{g}}.
> One option to fix this could be by moving the alias from the {{DriverRemoteConnection}} class into the {{IGremlinClient}} interface as a public property as that interface is available in the {{DriverRemoteConnection}} class as well as in the class {{DriverRemoteTraversalSideEffects}}.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)