I know for sure I do return a full document with populated associations.
It seems that no matter what I return from the resolver it does get re-populated somewhere else down the line…
module.exports = {
resolver: {
Query: {
headline: {
description: 'Return the homepage headlines',
resolverOf: 'application::headline.headline.find',
resolver: async (obj, options, ctx) => {
// custom find services returning deeply populated documents
return await strapi.services.headline.find(options);
},
}
},
}
};