-
Type:
Bug
-
Status: Closed
-
Priority:
Major
-
Resolution: Not A Bug
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: server
-
Labels:None
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...