bob
05/28/2020, 4:11 AMreturn context.prisma.users({
where: { trips: {in: parent.id} },
});
type User {
id: ID!
uid: String!
name: String!
email: String!
gender: String
trips: [Trip!]
}
Ryan
05/28/2020, 8:05 AMschema.graphql
if possible?Richard Ward
05/28/2020, 11:03 AMreturn context.prisma.users({
where: { trips: {id: {in: parent.id}} },
});