You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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]
}
The text was updated successfully, but these errors were encountered:
Hi @BondJamesBond700, you have applied invalid filter. The type of role inside Role relation is List and the filter you have applied is of type String so that is why it is not returning any data. You can try with List filters mentioned here.
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]
}
The text was updated successfully, but these errors were encountered: