Problem
When making a “login” query using auto generated “checkUserPassword” query it starts loading forever.
Login query
query Login($username: String!, $password: String!){
checkUserPassword(username: $username, password: $password){
username
parties
characters{
name
}
}
}
But when i remove “parties” from that query response it will work.
User schema
type User @secret(field: "password") {
username: String! @id
email: String!
characters: [Character] @hasInverse(field: owner)
parties: [String]!
role: UserRole! @search
}
It seems that the user has this parties field and its just empty array as it should. Also if
the user has1 or none characters in the characters array the query will work. This is some black magic stuff and i really need some professional help. I also need help with this problem