I'm using Deferred to avoid N+1 problem, but with a big amount of entities, it produces out of memory error.
Even without buffer it allocates a lot of memory:
'resolve' => function($blogStory) {
return new GraphQL\Deferred(function () {
return true;
});
}
Is there a way to use it more properly?