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

Florian Hockmann commented on TINKERPOP-2556:
---------------------------------------------

I wanted to start working on this today but quickly ran into a problem: It 
looks like we need to extend the [{{IRemoteConnection}} 
interface|https://github.com/apache/tinkerpop/blob/master/gremlin-dotnet/src/Gremlin.Net/Process/Remote/IRemoteConnection.cs]
 for this to support transactions (the Java version has a {{tx()}} method, the 
JS version has {{createSession()}}, {{commit()}}, and {{rollback()}}), but this 
would be a breaking change. Unfortunately, we also cannot use [default 
implementations|https://devblogs.microsoft.com/dotnet/default-implementations-in-interfaces/]
 yet which would remedy this as we could simply throw an exception about 
transactions not being supported by default, as those are only available since 
.NET Standard 2.1 / .NET Core 3.0 and we are still on .NET Standard 2.0. 
Dropping support for .NET Standard 2.0 would be an even bigger breaking change.

So, I think that we will only be able to add this with 3.6.0 for .NET.

 

> Support remote transactions in .NET
> -----------------------------------
>
>                 Key: TINKERPOP-2556
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2556
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: dotnet
>    Affects Versions: 3.5.0
>            Reporter: Stephen Mallette
>            Priority: Major
>
> TINKERPOP-2537 introduced remote transactions with {{g.tx()}} for use with 
> Java. The same functionality should be made available in .NET.



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

Reply via email to