Matheus Assis
05/27/2020, 2:46 PMUser
that has posts: Post
How would I filter the list of users that has posted an specific post for example:
query GetUser {
users (after: { posts_some: { title_eq: 'My post' } }) {
name
}
}
I'm using nexus and prisma2, and nexus is not allowing me to filter that deep with t.crud.users()
Ahmed
05/27/2020, 2:48 PMAhmed
05/27/2020, 2:50 PMMatheus Assis
05/27/2020, 2:51 PMAhmed
05/27/2020, 2:52 PMMatheus Assis
05/27/2020, 2:55 PM