pancake
12/11/2018, 5:12 PMtype 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:
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?nuno
12/12/2018, 10:30 AMgetClientUserWhere
?