It seems that this is simply a function that you pass your resolver to. Is there any reason why this cannot be used together with dataloader?