8000 Filtering for edges attached to a vertex not working · Issue #479 · arangodb/arangodb · GitHub
[go: up one dir, main page]

Skip to content
Filtering for edges attached to a vertex not working #479
Closed
@F21

Description

@F21

I am trying to use POST /_api/graph/graph-name/edges/vertex-name as outlined in the docs to get the edges for a vertex.

Getting edges connected to the vertex in both directions work fine. However, setting "direction": "in" or "direction": "out" has no effect.

To reproduce, save 2 vertices and connect them:

vertex1 ---edge---> vertex2

Then:

POST /_api/graph/graph-name/edges/vertexcollection/vertex2 {"direction": "out"}

Notice that we get the edge back even thought we have set the filter to show only outgoing edges.

After more testing, it looks like filtering does not work at all. I just tried filtering by the label, and it still returns all edges.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0