=> { return context.prisma.posts({ where: { published: true } }) }, }, Post: { author: ({ id }, args, context) => { return context.prisma.post({ id }).author() }, }, User: { posts: ({ id }, args, context) => { return context.prisma.user({ id }).posts() }, }, } type Query { feed: [Post!]! } type Post { title: String! content: String published: Boolean! author: User! } type User { email: String! name: String posts: [Post!]! } Inconsistencies between SDL and Resolvers