-
Notifications
You must be signed in to change notification settings - Fork 44
Open
Description
Hi,
First of all thank you for putting the work in on this project, its great and I would like to use it more, but I'm really struggling getting some of the described functionality working with a standard Tinkerpop/Gremlin instance.
Currently if I try to use the UnmarshalPropertyList functionality I receive an error of:
error unmarshalling data: {"type":"UNMARSHAL_ERROR"},{"function":"UnmarshalIDList"},{"rawBytes":"..."},{"error":"json: cannot unmarshal number into Go struct field [email protected].@value of type model.PropertyIDValue"}
To reproduce:
- Run official gremlin-server:
docker run -d -p 8182:8182 tinkerpop/gremlin-server - Run https://github.com/northwesternmutual/grammes/blob/master/examples/vertex-properties-example/main.go
Error received:
error unmarshalling data: {"type":"UNMARSHAL_ERROR"},{"function":"UnmarshalIDList"},{"rawBytes":"{"@type":"g:List","@value":[{"@type":"g:VertexProperty","@value":{"id":{"@type":"g:Int64","@value":93},"label":"firstname","value":"damien"}},{"@type":"g:VertexProperty","@value":{"id":{"@type":"g:Int64","@value":94},"label":"middlename","value":"socrates"}},{"@type":"g:VertexProperty","@value":{"id":{"@type":"g:Int64","@value":95},"label":"age","value":{"@type":"g:Int32","@value":19}}},{"@type":"g:VertexProperty","@value":{"id":{"@type":"g:Int64","@value":96},"label":"lastname","value":"stamates"}}]}"},{"error":"json: cannot unmarshal number into Go struct field [email protected].@value of type model.PropertyIDValue"}Label Value
I appreciate that the tinkerpop/gremlin-server container is the latest image (3.4.8 at time of writing), but I couldn't find anything saying which versions of Gremlin were/weren't supported.
Versions:
- Go 1.15
- Gremlin 3.4.8
- Grammes 1.1.2
Any idea what may be going on here? Happy to do a quick patch.
Metadata
Metadata
Assignees
Labels
No labels