Skip to content

Wrong relationship type used in Path struct #70

@nightly-raven

Description

@nightly-raven

I've been experimenting with the rust memgraph client crate and I came across this definition of Path.
I am a bit confused because in memgraph, we get a Relationship when we query a path like so: MATCH path=((w1:Word)-[r1]->(t:Topic)<-[r2]-(w2:Word))
But in the rust crate, a path has a vector of UnboundRelationship instead of Relationship. I cannot get the start and end from the UnboundRelationship.properties either.

Image

It would be nice if Path.relationships was a vector of Relationship instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions