GraphQL - Resolvers
What is wrong with this resolver snippet?
function resolver(parent, args, context, info) {
return info.selectionSet.selections;
}function resolver(parent, args, context, info) {
return info.selectionSet.selections;
}info propertiesinfo itself does not have selectionSet; it is nested inside fieldNodes[0].info.fieldNodes[0].selectionSet.selections.info does not have a direct selectionSet property -> Option B15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions