concept Approach in category graphql

appears as: Approach, An Approach, An Approach, Approach, n Approach
GraphQL in Action

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

For the API vocabulary, let’s name the model to represent a single micro-documentation entry at AZdev as "Task" and name a single way or method on how that Task can be met as "Approach". A Task can have multiple Approaches. An Approach belongs to a Task.

Look that up. We used it in the Task type and the Approach type. Here’s how to change both of these places to use the new users DataLoader instance:

2) The Approach type:

Listing 7.11. Changes in the Approach type in api/src/schema/types/approach.js
const Approach = new GraphQLObjectType({
  name: 'Approach',
  fields: {
    // ·-·-·

    author: {
      type: new GraphQLNonNull(User),
      resolve: (source, args, { loaders }) =>
        loaders.users.load(source.userId),
    },

    // ·-·-·
  },
});