Serg Salo created TINKERPOP-2450:
------------------------------------
Summary: Get Correct Result when working with gremlin-server and
javascript
Key: TINKERPOP-2450
URL: https://issues.apache.org/jira/browse/TINKERPOP-2450
Project: TinkerPop
Issue Type: Bug
Components: server
Reporter: Serg Salo
I have installed gremlin-server docker image. I am able to connect to it from
javascript client and execute addV and V to list the nodes.
I am not sure what is going on, but
const list = await g.V().valueMap().toList();
console.log(list);
console.log(JSON.stringify(list));
produces:
[ Vertex \{ id: 0, label: 'person', properties: undefined } ]
[\{"id":0,"label":"person"}]
Now, let's use valueMap:
const list = await g.V().valueMap().toList();
console.log(list);
console.log(JSON.stringify(list));
produces:
[ Map \{ 'name' => [ 'foo' ] } ]
[{}]
So, is serialization an issue? or do I need to configure server properly? or...
--
This message was sent by Atlassian Jira
(v8.3.4#803005)