You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tinkerpop.apache.org by "Stephen Mallette (Jira)" <ji...@apache.org> on 2021/11/24 19:29:00 UTC

[jira] [Created] (TINKERPOP-2658) Translator in gremlin-javascript has trouble with array arguments

Stephen Mallette created TINKERPOP-2658:
-------------------------------------------

             Summary: Translator in gremlin-javascript has trouble with array arguments
                 Key: TINKERPOP-2658
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-2658
             Project: TinkerPop
          Issue Type: Bug
          Components: javascript, translator
    Affects Versions: 3.5.1
            Reporter: Stephen Mallette


For something like {{g.V([1,2,3])}} we get:

{code}
     TypeError: bytecodeOrTraversal.getBytecode is not a function
      at Translator.translate (lib/process/translator.js:51:100)
      at Translator.translate (lib/process/translator.js:83:33)
      at Context.<anonymous> (test/unit/translator-test.js:111:42)
{code}

This PR has the start of the fix with more context in the comments:

https://github.com/apache/tinkerpop/pull/1507



--
This message was sent by Atlassian Jira
(v8.20.1#820001)