Population after a custom graphql resolver, what does it?

There is definitely a population happening after the resolver, if I output from the resolver the following refs:

module.exports = {
  resolver: {
    Query: {
      headline: {
        description: 'Return the homepage headlines',
        resolverOf: 'application::headline.headline.find',
        resolver: async (obj, options, ctx) => {
          return {
            "_id": "5f7b9fdbb274387e0dd2e905",
            "entries": [
              {
                "_id": "5f7dc1352177a600c13b256f",
                "episode": {
                  "_id": "5f7b635f7281764dfe79cb1a",
                },
              }
            ],
          };
        },
      }
    },
  }
};

I still get my graphql episode response polulated.

I’m not sure what’s after the resolver in Strapi…

1 Like