Repository navigation
TINKERPOP-3095: Provide a path for selecting script engine for traversals in TP4 - #3727
Open
Iryna-Kahamlyk wants to merge 2 commits into
Open
Iryna-Kahamlyk wants to merge 2 commits into
Iryna-Kahamlyk wants to merge 2 commits into
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #3727 +/- ##
============================================
+ Coverage 76.35% 76.74% +0.38%
- Complexity 13424 14350 +926
============================================
Files 1012 1037 +25
Lines 60341 64839 +4498
Branches 7075 7705 +630
============================================
+ Hits 46076 49758 +3682
- Misses 11548 11987 +439
- Partials 2717 3094 +377 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
Iryna-Kahamlyk
marked this pull request as ready for review
October 19, 2026 23:22
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
JIRA: https://issues.apache.org/jira/browse/TINKERPOP-3095
Summary
Traversal-based remote requests can now choose the server script engine, as string queries already could via
RequestOptions. This works in Java, Python, .NET, Go and JavaScript, in two ways:g.with("language", "gremlin-lang")DriverRemoteConnectionDriverRemoteConnection.using(cluster, "g", "gremlin-lang")language='gremlin-lang'language: "gremlin-lang"settings.RequestLanguage{ language: 'gremlin-lang' }A value set with
with()overrides the connection default. If neither is set, nothing changes: .NET, Go and JavaScript still sendgremlin-lang, and Java and Python let the server choose.Bug fix:
gremlin-goandgremlin-javascriptsilently droppedwith("language", ...)from remote traversals because their option allow-lists omitted it. It is now sent.