Iryna-Kahamlyk opened a new pull request, #3727: URL: https://github.com/apache/tinkerpop/pull/3727
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: - **Per traversal source:** `g.with("language", "gremlin-lang")` - **Per connection:** a default for every traversal on a `DriverRemoteConnection` - Java: `DriverRemoteConnection.using(cluster, "g", "gremlin-lang")` - Python: `language='gremlin-lang'` - .NET: `language: "gremlin-lang"` - Go: `settings.RequestLanguage` - JavaScript: `{ language: 'gremlin-lang' }` A value set with `with()` overrides the connection default. If neither is set, nothing changes: .NET, Go and JavaScript still send `gremlin-lang`, and Java and Python let the server choose. **Bug fix:** `gremlin-go` and `gremlin-javascript` silently dropped `with("language", ...)` from remote traversals because their option allow-lists omitted it. It is now sent. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
