562537 (1) [Avatar] Offline
#1
working with GraphQL: resolve : (r, {index}) => movies[index-1]
Hi , just looking at Chapter 15. The GraphQLScema .p316
Can someone explain this line :

resolve : (r, {index}) => movies[index-1]

i understand the index and how it gets a movie. Its just this 'r' parameter. what is this?

Is it the object itself ?