Hey,
I'm trying to decode a simple query from janusgraph using the go sdk v3.6.1. It's failing around the janusgraph.RelationIdentifier.
The query:
`addV('"vertex-label-1').as('v1').addV('"vertex-label-2').as('v2').addE('edge-label').to(select('v1')).from(select('v2')).valueMap(true)`
The data:
`\x81\x00\xd87UrސNɲ\xa8X\x95\x84 \xeb\xd0\x00\x00\x00\xc8\x00\x00\x00\x00\x00\x00\x00\x00\x01\x03\x00\x00\x00\x00\x04host\x03\x00\x00\x00\x00\x11/
172.25.0.1:60468\x00\x00\x00\x00\t\x00\x00\x00\x00\x02\n\x00\x00\x00\x00\x01 \x00\x03\x00\x00\x00\x00\x02id\x00\x00\x00\x00\x1djanusgraph.RelationIdentifier\x00\x00\x10\x01\x00\x00\x00\x00\x00\x00\x00\x10h\x00\x00\x00\x00\x00\x00\f\x15\x00\x00\x00\x00\x00\x00\x06\r\x00\x00\x00\x00\x00\x00\x10\x00\n\x00\x00\x00\x00\x01 \x00\x03\x00\x00\x00\x00\x05label\x03\x00\x00\x00\x00\nedge-label`
Per the debug, the issue is happening at index 92
88: i
89: d
90: \x00
91: \x00
92: \x00
93: \x00
94: \x1d
95: j
... anusgraph.RelationIdentifier
I'm not sure if this is a janusgraph issue or a library issue, the response decodes fine when using graphson with the (un-maintained) grammes library (
https://github.com/northwesternmutual/grammes). Vertices decode fine too, it seems it fails every time there is an edge.
Any ideas or pointers?
Thanks!
Remi