[ 
https://issues.apache.org/jira/browse/TINKERPOP-1959?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16638750#comment-16638750
 ] 

ASF GitHub Bot commented on TINKERPOP-1959:
-------------------------------------------

Github user spmallette commented on the issue:

    https://github.com/apache/tinkerpop/pull/922
  
    It works with Java and GraphSON 2.0:
    
    ```text
    gremlin> cluster = Cluster.build().serializer("GRAPHSON_V2D0").create()
    ==>localhost/127.0.0.1:8182
    gremlin> client = cluster.connect()
    ==>org.apache.tinkerpop.gremlin.driver.Client$ClusteredClient@24a298a6
    gremlin> client.submit("g.addV().property(c,k,v)", 
[c:set,k:'name',v:123]).all().get()
    ==>result{object=v[4] 
class=org.apache.tinkerpop.gremlin.structure.util.detached.DetachedVertex}
    gremlin> client.submit("g.V().has('name',123).count()").all().get()
    ==>result{object=1 class=java.lang.Long}
    ```
    
    So, i'm not sure what's wrong. If you want to commit/push what you have i 
can try to test on my own to see what I (or maybe someone else) can figure out.
    



> Provide a way to submit scripts to the server in gremlin-javascript
> -------------------------------------------------------------------
>
>                 Key: TINKERPOP-1959
>                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1959
>             Project: TinkerPop
>          Issue Type: Improvement
>          Components: javascript
>    Affects Versions: 3.2.8
>            Reporter: stephen mallette
>            Priority: Critical
>
> It is currently only possible to submit bytecode based requests to the server 
> with gremlin-javascript. We should also provide some means for submitting 
> scripts.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to