This is an automated email from the ASF dual-hosted git repository. jorgebg pushed a commit to branch TINKERPOP-2332 in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/TINKERPOP-2332 by this push: new dc5e457 TINKERPOP-2333 JavaScript GLV: Fix Edge GraphSON2+ serialization dc5e457 is described below commit dc5e457780114c497b46eca0fc3b3daa8d2fec16 Author: Jorge Bay Gondra <jorgebaygon...@gmail.com> AuthorDate: Mon Jan 27 11:55:55 2020 +0100 TINKERPOP-2333 JavaScript GLV: Fix Edge GraphSON2+ serialization --- .../gremlin-javascript/lib/structure/io/type-serializers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/type-serializers.js b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/type-serializers.js index c553b47..42183b9 100644 --- a/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/type-serializers.js +++ b/gremlin-javascript/src/main/javascript/gremlin-javascript/lib/structure/io/type-serializers.js @@ -293,9 +293,9 @@ class EdgeSerializer extends TypeSerializer { const value = obj[valueKey]; return new g.Edge( this.reader.read(value['id']), - this.reader.read(value['outV']), + new g.Vertex(this.reader.read(value['outV']), this.reader.read(value['outVLabel'])), value['label'], - this.reader.read(value['inV']), + new g.Vertex(this.reader.read(value['inV']), this.reader.read(value['inVLabel'])), this.reader.read(value['properties']) ); }