Closed ghost closed 4 years ago
So it seems like the object returned from Gremlin Server is the issue.
To fix it I changed https://github.com/northwesternmutual/grammes/blob/master/model/edgeid.go#L27 to:
Value int64 `json:"@value"`
Thus, it is necessary to update https://github.com/northwesternmutual/grammes/blob/master/model/edge.go#L46 as well:
func (e *Edge) ID() int64 {
return e.Value.ID.Value
}
I haven't been doing much with Gremlin lately, so this may be a configuration or scheme thing, but at least this works with the current Gremlin Server out of the box.
Hi,
After adding two vertices to a local Gremlin Server graph (3.4.6) I attempt to create an edge between them by first checking for existing edges:
This results in the following error when the edge exist:
Anything I'm doing wrong in config or code, or is this a bug with the types?