Skip to content

GraphQL with Edge Filters or Nested Node filter not working #288

Open
@BondJamesBond700

Description

@BondJamesBond700

we tested it on 1.7.0
We have flow like
Person --> Roles --> Movie

Now Role has the various properties. when we try to put the filter on Edge , data is not returned.

below is the schema and graphql used.
-------GraphQL query---
"query":"{ 
person{
born
name
roles(role:"Charlie") {
role
movie{
released
title
}
}
}
}"
----------schema--------
type Role @relation(name:"ACTED_IN", from:"actor", to:"movie") {
  actor: Person
  movie: Movie
  role: [String]
}
type Person {
  name: String
  born: String
  roles: [Role]
}
type Movie {
  title: String
  released: String
  characters: [Role]
}
type Query {
  person: [Person]
  movie: [Movie]
}

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