cayleygraph / cayley

An open-source graph database
https://cayley.io
Apache License 2.0
14.85k stars 1.25k forks source link

Relationships not displaying correctly in new cayley version #960

Open indupulikkot opened 3 years ago

indupulikkot commented 3 years ago

Description

Unable to display relationships correctly. We have a set of entity relations.

When A -->B

and when we query the relation. It would give relation between A and B when we query for A. This is not happening in the latest version of Cayley. When we give B , it would give the relation. In previous version that is 7.2 we are getting the results correctly. But in 7.7 we are unable to get this and customers have raised bug Steps to reproduce the issue: Create relation between A and B, A Query for A

Received results:

Getting empty results

{ "result": [ [] ] }

Expected results:

"result": [
    [
        "test-A",
        "test-B"
    ],
    {
        "relation": "DependsOn",
        "source": "test-A",
        "target": "test-B"
    },
    {

Backend database: (database and version)

7,7

indupulikkot commented 3 years ago

Hi is there any update on this?