howtographql / graphql-js

https://www.howtographql.com/graphql-js/1-getting-started/
363 stars 126 forks source link

"root" and "parent" used interchangeably with no explanation #58

Open ZachCMP opened 5 years ago

ZachCMP commented 5 years ago

At different times in the tutorial, the GraphQL resolver parameter "parent" is named "root", even though it is always referred to as "parent". Either making the terminology consistent or providing explanation of why it is not consistent would have helped reduce some of my confusion, as this is the first time I'm really using GraphQL.