spmallette commented on pull request #1507:
URL: https://github.com/apache/tinkerpop/pull/1507#issuecomment-978162111
This test triggers the problem:
```js
it('should produce valid script representation from a traversal object',
function () {
const g = new graph.Graph().traversal();
const script = new Translator('g').translate(g.V([1, 2, 3]));
assert.ok(script);
assert.strictEqual(script, 'g.V([1, 2, 3])');
});
```
and should be incorporated. the added issue is that the fix in this PR is
only partial because the value in the array isn't a `Traversal` and thus a
recursive call to `translate()` just fails.
Created an issue for tracking as this needs a bit more thought:
https://issues.apache.org/jira/browse/TINKERPOP-2658
--
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]