Marko A. Rodriguez created TINKERPOP-1454:
---------------------------------------------

             Summary: Create Serializers for Graph objects in Gremlin-Python
                 Key: TINKERPOP-1454
                 URL: https://issues.apache.org/jira/browse/TINKERPOP-1454
             Project: TinkerPop
          Issue Type: Improvement
          Components: io, language-variant
    Affects Versions: 3.2.2
            Reporter: Marko A. Rodriguez


Right now, Gremlin-Python only supports {{VertexDeserializer}}, etc. We should 
add {{VertexSerializer}}. Why? So we can send vertex, edge, etc. objects in a 
traversal.

{code}
v = g.V().has('name','stephen').next()
g.V(v).out('knows').toList() // currently doesn't work
g.withSideEffect('x',v).V().out('knows').where(neq('x')) // currently doesn't 
work
{code}

Note that the serialization simply needs to encode {{id}} only so this can be 
really simple to do.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to