GraphQL - Type Relationships
This resolver code throws an error:
What is the most likely cause?
const resolvers = {
User: {
posts: (parent) => {
return parent.posts.map(p => p.title);
}
}
};What is the most likely cause?
