concept approachlist field in category graphql

appears as: approachList field, The approachList field
GraphQL in Action

This is an excerpt from Manning's book GraphQL in Action.

We’ll implement the approachList field starting from the types and resolvers. We need to modify the Task type to add the new approachList field. That field is a non-null list of non-null Approach objects (which is the new GraphQL type we need to introduce). To resolve the approachList field, we need a new function in the pgApi that takes a taskId and returns an array of Approach objects associated with it. Let’s name that function approachesList.

However, this relation is the inverse of the Task → Approach relation we implemented for the approachList field. This means it will introduce a circular dependency in the graph: Task → Approach → Task → Approach → …