[tinkerpop] branch TINKERPOP-2420 updated: TINKERPOP-2420 Added docs for request options to all GLVs
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch TINKERPOP-2420 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git The following commit(s) were added to refs/heads/TINKERPOP-2420 by this push: new ea2e63b TINKERPOP-2420 Added docs for request options to all GLVs ea2e63b is described below commit ea2e63b418784b5bb0ad5be6aa3a9dc00ef4 Author: Stephen Mallette AuthorDate: Mon Oct 5 20:09:47 2020 -0400 TINKERPOP-2420 Added docs for request options to all GLVs --- CHANGELOG.asciidoc | 2 +- docs/src/reference/gremlin-variants.asciidoc | 30 ++-- docs/src/upgrade/release-3.4.x.asciidoc| 32 ++ .../Docs/Reference/GremlinVariantsTests.cs | 18 4 files changed, 79 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index ef6c7a3..fe320c5 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -30,7 +30,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima * Removed `Connection` from `Connection Pool` when server closes a connection with no pending requests in Java Driver. * Improved initialization time of Java Driver if the default serializer is replaced. * Deprecated `withGraph()` in favor of `withEmbedded()` on `AnonymousTraversalSource`. -* Added support for per-request level configurations, like timeouts, in Python and Javascript. +* Added support for per-request level configurations, like timeouts, in .NET, Python and Javascript. * Fixed bug in Javascript `Translator` that wasn't handling child traversals well. * Implemented `AutoCloseable` on `MultiIterator`. * Fixed an iterator leak in `HasContainer`. diff --git a/docs/src/reference/gremlin-variants.asciidoc b/docs/src/reference/gremlin-variants.asciidoc index 70c084e..066f5d0 100644 --- a/docs/src/reference/gremlin-variants.asciidoc +++ b/docs/src/reference/gremlin-variants.asciidoc @@ -684,7 +684,7 @@ Some connection options can also be set on individual requests made through the [source,python] -vertices = g.with_('evaluationTimeout', 500L).V().out('knows').toList() +vertices = g.with_('evaluationTimeout', 500).V().out('knows').toList() The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and @@ -1121,6 +1121,18 @@ the remote end. include::../../../gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Docs/Reference/GremlinVariantsTests.cs[tags=connecting] +Some connection options can also be set on individual requests made through the using `With()` step on the +`TraversalSource`. For instance to set request timeout to 500 milliseconds: + +[source,csharp] + +var l = g.With(Tokens.ArgsEvalTimeout, 500).V().Out("knows").Count(); + + +The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and +`evaluationTimeout` (formerly 'scriptEvaluationTimeout' which is also supported but now deprecated). These options are +available as constants on the `Gremlin.Net.Driver.Tokens` class. + [[gremlin-dotnet-imports]] === Common Imports @@ -1246,6 +1258,20 @@ var gremlinServer = new GremlinServer("localhost", 8182); var client = new GremlinClient(gremlinServer, sessionId: Guid.NewGuid().ToString())) + Per Request Settings + +The `GremlinClient.submit()` functions accept an option to build a raw `RequestMessage`. A good use-case for this +feature is to set a per-request override to the `evaluationTimeout` so that it only applies to the current request. + +[source,csharp] + +include::../../../gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Docs/Reference/GremlinVariantsTests.cs[tags=submittingScriptsWithTimeout] + + +The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and +`evaluationTimeout` (formerly 'scriptEvaluationTimeout' which is also supported but now deprecated). These options are +available as constants on the `Gremlin.Net.Driver.Tokens` class. + anchor:gremlin-net-dsl[] [[gremlin-dotnet-dsl]] === Domain Specific Languages @@ -1418,7 +1444,7 @@ Some connection options can also be set on individual requests made through the [source,javascript] -const vertices = await g.with_('evaluationTimeout', 500L).V().out('knows').toList() +const vertices = await g.with_('evaluationTimeout', 500).V().out('knows').toList() The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and diff --git a/docs/src/upgrade/release-3.4.x.asciidoc b/docs/src/upgrade/release-3.4.x.asciidoc index a1bf501..40b2a68 100644 --- a/docs/src/upgrade/release-3.4.x.asciidoc +++ b/docs/src/upgrade/release-3.4.x.asciidoc @@ -70,6 +70,38 @@ const sg = g.withStrategies( See: link:https://issues.apache.org/jira/bro
[tinkerpop] branch TINKERPOP-2420 updated: TINKERPOP-2420 Added docs for request options to all GLVs
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch TINKERPOP-2420 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git The following commit(s) were added to refs/heads/TINKERPOP-2420 by this push: new ea2e63b TINKERPOP-2420 Added docs for request options to all GLVs ea2e63b is described below commit ea2e63b418784b5bb0ad5be6aa3a9dc00ef4 Author: Stephen Mallette AuthorDate: Mon Oct 5 20:09:47 2020 -0400 TINKERPOP-2420 Added docs for request options to all GLVs --- CHANGELOG.asciidoc | 2 +- docs/src/reference/gremlin-variants.asciidoc | 30 ++-- docs/src/upgrade/release-3.4.x.asciidoc| 32 ++ .../Docs/Reference/GremlinVariantsTests.cs | 18 4 files changed, 79 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index ef6c7a3..fe320c5 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -30,7 +30,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima * Removed `Connection` from `Connection Pool` when server closes a connection with no pending requests in Java Driver. * Improved initialization time of Java Driver if the default serializer is replaced. * Deprecated `withGraph()` in favor of `withEmbedded()` on `AnonymousTraversalSource`. -* Added support for per-request level configurations, like timeouts, in Python and Javascript. +* Added support for per-request level configurations, like timeouts, in .NET, Python and Javascript. * Fixed bug in Javascript `Translator` that wasn't handling child traversals well. * Implemented `AutoCloseable` on `MultiIterator`. * Fixed an iterator leak in `HasContainer`. diff --git a/docs/src/reference/gremlin-variants.asciidoc b/docs/src/reference/gremlin-variants.asciidoc index 70c084e..066f5d0 100644 --- a/docs/src/reference/gremlin-variants.asciidoc +++ b/docs/src/reference/gremlin-variants.asciidoc @@ -684,7 +684,7 @@ Some connection options can also be set on individual requests made through the [source,python] -vertices = g.with_('evaluationTimeout', 500L).V().out('knows').toList() +vertices = g.with_('evaluationTimeout', 500).V().out('knows').toList() The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and @@ -1121,6 +1121,18 @@ the remote end. include::../../../gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Docs/Reference/GremlinVariantsTests.cs[tags=connecting] +Some connection options can also be set on individual requests made through the using `With()` step on the +`TraversalSource`. For instance to set request timeout to 500 milliseconds: + +[source,csharp] + +var l = g.With(Tokens.ArgsEvalTimeout, 500).V().Out("knows").Count(); + + +The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and +`evaluationTimeout` (formerly 'scriptEvaluationTimeout' which is also supported but now deprecated). These options are +available as constants on the `Gremlin.Net.Driver.Tokens` class. + [[gremlin-dotnet-imports]] === Common Imports @@ -1246,6 +1258,20 @@ var gremlinServer = new GremlinServer("localhost", 8182); var client = new GremlinClient(gremlinServer, sessionId: Guid.NewGuid().ToString())) + Per Request Settings + +The `GremlinClient.submit()` functions accept an option to build a raw `RequestMessage`. A good use-case for this +feature is to set a per-request override to the `evaluationTimeout` so that it only applies to the current request. + +[source,csharp] + +include::../../../gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Docs/Reference/GremlinVariantsTests.cs[tags=submittingScriptsWithTimeout] + + +The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and +`evaluationTimeout` (formerly 'scriptEvaluationTimeout' which is also supported but now deprecated). These options are +available as constants on the `Gremlin.Net.Driver.Tokens` class. + anchor:gremlin-net-dsl[] [[gremlin-dotnet-dsl]] === Domain Specific Languages @@ -1418,7 +1444,7 @@ Some connection options can also be set on individual requests made through the [source,javascript] -const vertices = await g.with_('evaluationTimeout', 500L).V().out('knows').toList() +const vertices = await g.with_('evaluationTimeout', 500).V().out('knows').toList() The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and diff --git a/docs/src/upgrade/release-3.4.x.asciidoc b/docs/src/upgrade/release-3.4.x.asciidoc index a1bf501..40b2a68 100644 --- a/docs/src/upgrade/release-3.4.x.asciidoc +++ b/docs/src/upgrade/release-3.4.x.asciidoc @@ -70,6 +70,38 @@ const sg = g.withStrategies( See: link:https://issues.apache.org/jira/bro
[tinkerpop] branch TINKERPOP-2420 updated: TINKERPOP-2420 Added docs for request options to all GLVs
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch TINKERPOP-2420 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git The following commit(s) were added to refs/heads/TINKERPOP-2420 by this push: new ea2e63b TINKERPOP-2420 Added docs for request options to all GLVs ea2e63b is described below commit ea2e63b418784b5bb0ad5be6aa3a9dc00ef4 Author: Stephen Mallette AuthorDate: Mon Oct 5 20:09:47 2020 -0400 TINKERPOP-2420 Added docs for request options to all GLVs --- CHANGELOG.asciidoc | 2 +- docs/src/reference/gremlin-variants.asciidoc | 30 ++-- docs/src/upgrade/release-3.4.x.asciidoc| 32 ++ .../Docs/Reference/GremlinVariantsTests.cs | 18 4 files changed, 79 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index ef6c7a3..fe320c5 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -30,7 +30,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima * Removed `Connection` from `Connection Pool` when server closes a connection with no pending requests in Java Driver. * Improved initialization time of Java Driver if the default serializer is replaced. * Deprecated `withGraph()` in favor of `withEmbedded()` on `AnonymousTraversalSource`. -* Added support for per-request level configurations, like timeouts, in Python and Javascript. +* Added support for per-request level configurations, like timeouts, in .NET, Python and Javascript. * Fixed bug in Javascript `Translator` that wasn't handling child traversals well. * Implemented `AutoCloseable` on `MultiIterator`. * Fixed an iterator leak in `HasContainer`. diff --git a/docs/src/reference/gremlin-variants.asciidoc b/docs/src/reference/gremlin-variants.asciidoc index 70c084e..066f5d0 100644 --- a/docs/src/reference/gremlin-variants.asciidoc +++ b/docs/src/reference/gremlin-variants.asciidoc @@ -684,7 +684,7 @@ Some connection options can also be set on individual requests made through the [source,python] -vertices = g.with_('evaluationTimeout', 500L).V().out('knows').toList() +vertices = g.with_('evaluationTimeout', 500).V().out('knows').toList() The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and @@ -1121,6 +1121,18 @@ the remote end. include::../../../gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Docs/Reference/GremlinVariantsTests.cs[tags=connecting] +Some connection options can also be set on individual requests made through the using `With()` step on the +`TraversalSource`. For instance to set request timeout to 500 milliseconds: + +[source,csharp] + +var l = g.With(Tokens.ArgsEvalTimeout, 500).V().Out("knows").Count(); + + +The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and +`evaluationTimeout` (formerly 'scriptEvaluationTimeout' which is also supported but now deprecated). These options are +available as constants on the `Gremlin.Net.Driver.Tokens` class. + [[gremlin-dotnet-imports]] === Common Imports @@ -1246,6 +1258,20 @@ var gremlinServer = new GremlinServer("localhost", 8182); var client = new GremlinClient(gremlinServer, sessionId: Guid.NewGuid().ToString())) + Per Request Settings + +The `GremlinClient.submit()` functions accept an option to build a raw `RequestMessage`. A good use-case for this +feature is to set a per-request override to the `evaluationTimeout` so that it only applies to the current request. + +[source,csharp] + +include::../../../gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Docs/Reference/GremlinVariantsTests.cs[tags=submittingScriptsWithTimeout] + + +The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and +`evaluationTimeout` (formerly 'scriptEvaluationTimeout' which is also supported but now deprecated). These options are +available as constants on the `Gremlin.Net.Driver.Tokens` class. + anchor:gremlin-net-dsl[] [[gremlin-dotnet-dsl]] === Domain Specific Languages @@ -1418,7 +1444,7 @@ Some connection options can also be set on individual requests made through the [source,javascript] -const vertices = await g.with_('evaluationTimeout', 500L).V().out('knows').toList() +const vertices = await g.with_('evaluationTimeout', 500).V().out('knows').toList() The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and diff --git a/docs/src/upgrade/release-3.4.x.asciidoc b/docs/src/upgrade/release-3.4.x.asciidoc index a1bf501..40b2a68 100644 --- a/docs/src/upgrade/release-3.4.x.asciidoc +++ b/docs/src/upgrade/release-3.4.x.asciidoc @@ -70,6 +70,38 @@ const sg = g.withStrategies( See: link:https://issues.apache.org/jira/bro
[tinkerpop] branch TINKERPOP-2420 updated: TINKERPOP-2420 Added docs for request options to all GLVs
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch TINKERPOP-2420 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git The following commit(s) were added to refs/heads/TINKERPOP-2420 by this push: new ea2e63b TINKERPOP-2420 Added docs for request options to all GLVs ea2e63b is described below commit ea2e63b418784b5bb0ad5be6aa3a9dc00ef4 Author: Stephen Mallette AuthorDate: Mon Oct 5 20:09:47 2020 -0400 TINKERPOP-2420 Added docs for request options to all GLVs --- CHANGELOG.asciidoc | 2 +- docs/src/reference/gremlin-variants.asciidoc | 30 ++-- docs/src/upgrade/release-3.4.x.asciidoc| 32 ++ .../Docs/Reference/GremlinVariantsTests.cs | 18 4 files changed, 79 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index ef6c7a3..fe320c5 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -30,7 +30,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima * Removed `Connection` from `Connection Pool` when server closes a connection with no pending requests in Java Driver. * Improved initialization time of Java Driver if the default serializer is replaced. * Deprecated `withGraph()` in favor of `withEmbedded()` on `AnonymousTraversalSource`. -* Added support for per-request level configurations, like timeouts, in Python and Javascript. +* Added support for per-request level configurations, like timeouts, in .NET, Python and Javascript. * Fixed bug in Javascript `Translator` that wasn't handling child traversals well. * Implemented `AutoCloseable` on `MultiIterator`. * Fixed an iterator leak in `HasContainer`. diff --git a/docs/src/reference/gremlin-variants.asciidoc b/docs/src/reference/gremlin-variants.asciidoc index 70c084e..066f5d0 100644 --- a/docs/src/reference/gremlin-variants.asciidoc +++ b/docs/src/reference/gremlin-variants.asciidoc @@ -684,7 +684,7 @@ Some connection options can also be set on individual requests made through the [source,python] -vertices = g.with_('evaluationTimeout', 500L).V().out('knows').toList() +vertices = g.with_('evaluationTimeout', 500).V().out('knows').toList() The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and @@ -1121,6 +1121,18 @@ the remote end. include::../../../gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Docs/Reference/GremlinVariantsTests.cs[tags=connecting] +Some connection options can also be set on individual requests made through the using `With()` step on the +`TraversalSource`. For instance to set request timeout to 500 milliseconds: + +[source,csharp] + +var l = g.With(Tokens.ArgsEvalTimeout, 500).V().Out("knows").Count(); + + +The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and +`evaluationTimeout` (formerly 'scriptEvaluationTimeout' which is also supported but now deprecated). These options are +available as constants on the `Gremlin.Net.Driver.Tokens` class. + [[gremlin-dotnet-imports]] === Common Imports @@ -1246,6 +1258,20 @@ var gremlinServer = new GremlinServer("localhost", 8182); var client = new GremlinClient(gremlinServer, sessionId: Guid.NewGuid().ToString())) + Per Request Settings + +The `GremlinClient.submit()` functions accept an option to build a raw `RequestMessage`. A good use-case for this +feature is to set a per-request override to the `evaluationTimeout` so that it only applies to the current request. + +[source,csharp] + +include::../../../gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Docs/Reference/GremlinVariantsTests.cs[tags=submittingScriptsWithTimeout] + + +The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and +`evaluationTimeout` (formerly 'scriptEvaluationTimeout' which is also supported but now deprecated). These options are +available as constants on the `Gremlin.Net.Driver.Tokens` class. + anchor:gremlin-net-dsl[] [[gremlin-dotnet-dsl]] === Domain Specific Languages @@ -1418,7 +1444,7 @@ Some connection options can also be set on individual requests made through the [source,javascript] -const vertices = await g.with_('evaluationTimeout', 500L).V().out('knows').toList() +const vertices = await g.with_('evaluationTimeout', 500).V().out('knows').toList() The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and diff --git a/docs/src/upgrade/release-3.4.x.asciidoc b/docs/src/upgrade/release-3.4.x.asciidoc index a1bf501..40b2a68 100644 --- a/docs/src/upgrade/release-3.4.x.asciidoc +++ b/docs/src/upgrade/release-3.4.x.asciidoc @@ -70,6 +70,38 @@ const sg = g.withStrategies( See: link:https://issues.apache.org/jira/bro
[tinkerpop] branch TINKERPOP-2420 updated: TINKERPOP-2420 Added docs for request options to all GLVs
This is an automated email from the ASF dual-hosted git repository. spmallette pushed a commit to branch TINKERPOP-2420 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git The following commit(s) were added to refs/heads/TINKERPOP-2420 by this push: new ea2e63b TINKERPOP-2420 Added docs for request options to all GLVs ea2e63b is described below commit ea2e63b418784b5bb0ad5be6aa3a9dc00ef4 Author: Stephen Mallette AuthorDate: Mon Oct 5 20:09:47 2020 -0400 TINKERPOP-2420 Added docs for request options to all GLVs --- CHANGELOG.asciidoc | 2 +- docs/src/reference/gremlin-variants.asciidoc | 30 ++-- docs/src/upgrade/release-3.4.x.asciidoc| 32 ++ .../Docs/Reference/GremlinVariantsTests.cs | 18 4 files changed, 79 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.asciidoc b/CHANGELOG.asciidoc index ef6c7a3..fe320c5 100644 --- a/CHANGELOG.asciidoc +++ b/CHANGELOG.asciidoc @@ -30,7 +30,7 @@ image::https://raw.githubusercontent.com/apache/tinkerpop/master/docs/static/ima * Removed `Connection` from `Connection Pool` when server closes a connection with no pending requests in Java Driver. * Improved initialization time of Java Driver if the default serializer is replaced. * Deprecated `withGraph()` in favor of `withEmbedded()` on `AnonymousTraversalSource`. -* Added support for per-request level configurations, like timeouts, in Python and Javascript. +* Added support for per-request level configurations, like timeouts, in .NET, Python and Javascript. * Fixed bug in Javascript `Translator` that wasn't handling child traversals well. * Implemented `AutoCloseable` on `MultiIterator`. * Fixed an iterator leak in `HasContainer`. diff --git a/docs/src/reference/gremlin-variants.asciidoc b/docs/src/reference/gremlin-variants.asciidoc index 70c084e..066f5d0 100644 --- a/docs/src/reference/gremlin-variants.asciidoc +++ b/docs/src/reference/gremlin-variants.asciidoc @@ -684,7 +684,7 @@ Some connection options can also be set on individual requests made through the [source,python] -vertices = g.with_('evaluationTimeout', 500L).V().out('knows').toList() +vertices = g.with_('evaluationTimeout', 500).V().out('knows').toList() The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and @@ -1121,6 +1121,18 @@ the remote end. include::../../../gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Docs/Reference/GremlinVariantsTests.cs[tags=connecting] +Some connection options can also be set on individual requests made through the using `With()` step on the +`TraversalSource`. For instance to set request timeout to 500 milliseconds: + +[source,csharp] + +var l = g.With(Tokens.ArgsEvalTimeout, 500).V().Out("knows").Count(); + + +The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and +`evaluationTimeout` (formerly 'scriptEvaluationTimeout' which is also supported but now deprecated). These options are +available as constants on the `Gremlin.Net.Driver.Tokens` class. + [[gremlin-dotnet-imports]] === Common Imports @@ -1246,6 +1258,20 @@ var gremlinServer = new GremlinServer("localhost", 8182); var client = new GremlinClient(gremlinServer, sessionId: Guid.NewGuid().ToString())) + Per Request Settings + +The `GremlinClient.submit()` functions accept an option to build a raw `RequestMessage`. A good use-case for this +feature is to set a per-request override to the `evaluationTimeout` so that it only applies to the current request. + +[source,csharp] + +include::../../../gremlin-dotnet/test/Gremlin.Net.IntegrationTest/Docs/Reference/GremlinVariantsTests.cs[tags=submittingScriptsWithTimeout] + + +The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and +`evaluationTimeout` (formerly 'scriptEvaluationTimeout' which is also supported but now deprecated). These options are +available as constants on the `Gremlin.Net.Driver.Tokens` class. + anchor:gremlin-net-dsl[] [[gremlin-dotnet-dsl]] === Domain Specific Languages @@ -1418,7 +1444,7 @@ Some connection options can also be set on individual requests made through the [source,javascript] -const vertices = await g.with_('evaluationTimeout', 500L).V().out('knows').toList() +const vertices = await g.with_('evaluationTimeout', 500).V().out('knows').toList() The following options are allowed on a per-request basis in this fashion: `batchSize`, `requestId`, `userAgent` and diff --git a/docs/src/upgrade/release-3.4.x.asciidoc b/docs/src/upgrade/release-3.4.x.asciidoc index a1bf501..40b2a68 100644 --- a/docs/src/upgrade/release-3.4.x.asciidoc +++ b/docs/src/upgrade/release-3.4.x.asciidoc @@ -70,6 +70,38 @@ const sg = g.withStrategies( See: link:https://issues.apache.org/jira/bro