hey prismoids, reaching out to the hive mind for h...
# orm-help
p
hey prismoids, reaching out to the hive mind for help on why a query isn’t returning anything. given data model:
Copy code
type ClientUser implements User {
    ...
    email: String! @unique
    ...
    connections: [Connection] @relation(name: "ClientConnect")
}
...
type Connection {
    id: ID! @unique
    ...
    organization: Organization! @relation(name: "OrgConnect")
    ...
}
...
type Organization {
    id: ID! @unique
    ...
    stripeID: String
    ...
}
I’ve written a query that looks like this:
Copy code
getClientUserWhere( where: { email: \"<mailto:foo@barbaz.com|foo@barbaz.com>\" } ) { connections { organization { stripeID } } }
which doesn’t seem to hit any responses. In fact, it can’t seem to find anything through the connections relation, even the id of connections associated with foo. I am wondering if this is aught to do with my query or data model… Any thoughts?
n
Could you show the resolver of
getClientUserWhere
?