Details
-
Bug
-
Status: Done
-
Minor
-
Resolution: Done
-
None
-
None
-
None
Description
There is no check if edge is degreeEdge or normal indexEdge when we transform fetched edges using EdgeTransformer on QueryParam.
I think it is necessary to skip Graph.convertEdges when edge is degreeEdge
ex) there is no edges exist from srcVertex "a". if we query with "transform": [["from"]], then now query result has one edge
{"from": "a", "to": "a"}. this is an edge that transformed from degreeEdge
{"from": "a", "to": "0"}.
I think using special target vertex id "0" in degree edge yield this problem and buggy, but for now transforming edge based on queryParam's EdgeTransformer can skip transform if considering edge is degreeEdge.