No such property: g for class:
Running Graph.g() |> Graph.v() |> Graph.has("name", "sqldb") |> Client.query gives an error {:error, :script_evaluation_error, "No such property: g for class: Script1348"}
However the same works with raw query Client.query("graph_traversal.V().has('name','sqldb').limit(10).toList()")
This also works from the gremlin console gremlin> graph_traversal.V().has('name','sqldb').limit(50).toList()
JanusGraph - 0.5.3 / apache-tinkerpop-gremlin-console-3.3.1 with serializer: { className: org.apache.tinkerpop.gremlin.driver.ser.GryoMessageSerializerV1d0, config: { serializeResultToString: true }}
However g is not defined in gremlin console as well No such property: g for class: Script1364
Setting g will fix the problem g=graph.traversal() But the support for traversal needs to be added in the code