Don't populate any relation in GraphQL context

This commit is contained in:
Kamal Bennani 2019-02-02 22:30:43 +01:00 committed by Alexandre Bodin
parent 2dfde5a152
commit 4bb9af3fb1

View File

@ -291,7 +291,7 @@ module.exports = {
});
if (isController) {
const values = await resolver.call(null, ctx);
const values = await resolver.call(null, ctx, null, { populate: [] });
if (ctx.body) {
return ctx.body;