Details
-
Improvement
-
Status: In Progress
-
Trivial
-
Resolution: Unresolved
-
None
-
None
-
None
-
None
Description
There is code duplication on `toQuery` and `toVertex` at `RequestParser`.
Both of two methods need to read JSON value and extract vertex.
The only difference between two is `toQuery` only need vertexId, not props, timestamp, operation, but `toVertex` need others.
Different implementation increase probability for bugs like S2GRAPH-186, so I suggest refactoring theses.
Attachments
Issue Links
- links to